Skip to content

Commit 08dc479

Browse files
author
Sven Krüger
authored
Merge pull request #11 from Belinskiy21/version_for_mysql8
version for mysql up 8
2 parents 73ec51c + ae94474 commit 08dc479

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
All notable changes to this project will be documented in this file.
2+
3+
This gem lives here https://github.com/infopark/mysql_blob_streaming.
4+
5+
## v2.4.0 - 2021-03-23
6+
7+
### Reason to make changes
8+
9+
- make gem compatible with MySQL version ~> 8.0.1
10+
11+
### Compatible changes
12+
13+
- add condition to check MySQL version in /ext/mysql_blob_streaming/mysql_blob_streaming.c
14+
#if MYSQL_VERSION_ID >=80000
15+
typedef bool my_bool;
16+
#endif
17+
18+
- remove deprecated 'spec.has_rdoc' from mysql_blob_streaming.gemspec

ext/mysql_blob_streaming/mysql_blob_streaming.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#include <mysql.h>
55
#include <errmsg.h>
66

7+
#if MYSQL_VERSION_ID >=80000
8+
typedef bool my_bool;
9+
#endif
710

811
typedef struct {
912
VALUE encoding;

lib/mysql_blob_streaming/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
class MysqlBlobStreaming
2-
VERSION = "2.3.0"
2+
VERSION = "2.4.0"
33
end

mysql_blob_streaming.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
1919
spec.files = Dir["lib/**/*.rb", "ext/**/*.{c,h,rb}", "README.markdown"]
2020
spec.extensions = ['ext/mysql_blob_streaming/extconf.rb']
2121

22-
spec.has_rdoc = true
2322
spec.extra_rdoc_files = Dir['README*']
2423
spec.rdoc_options = ['--main', Dir['README*'].first]
2524
end

0 commit comments

Comments
 (0)