Skip to content

Commit 04f53a7

Browse files
author
Oleg Belinskyi
committed
version for mysql up 8
1 parent 73ec51c commit 04f53a7

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
- replace deprecated for MySql 8.0 my_bool to bool type in /ext/mysql_blob_streaming/mysql_blob_streaming.c
14+
- remove deprecated 'spec.has_rdoc' from mysql_blob_streaming.gemspec

ext/mysql_blob_streaming/mysql_blob_streaming.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static MYSQL_BIND * build_result_bind(MYSQL_STMT *stmt, int buffer_length)
112112
{
113113
MYSQL_BIND *bind = (MYSQL_BIND *)calloc(1, sizeof(MYSQL_BIND));
114114
bind->length = (unsigned long *)calloc(1, sizeof(unsigned long));
115-
bind->is_null = (my_bool *)calloc(1, sizeof(my_bool));
115+
bind->is_null = (bool *)calloc(1, sizeof(bool));
116116
bind->buffer_length = buffer_length;
117117
bind->buffer = malloc(buffer_length);
118118

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)