Comments (5)
I'll do it :)
from dbi.
Patch:
--- dbdimp.c.orig 2018-09-19 13:13:58.262356606 +0300
+++ dbdimp.c 2018-09-19 13:17:07.646319186 +0300
@@ -1907,14 +1907,14 @@
(SvTRUE(*svp) ? "utf8" : "latin1"));
}
-#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
+#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_VERSION_ID)
if ((svp = hv_fetch(hv, "mysql_get_server_pubkey", 23, FALSE)) && *svp && SvTRUE(*svp)) {
my_bool server_get_pubkey = 1;
mysql_options(sock, MYSQL_OPT_GET_SERVER_PUBLIC_KEY, &server_get_pubkey);
}
#endif
-#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
+#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_VERSION_ID)
if ((svp = hv_fetch(hv, "mysql_server_pubkey", 19, FALSE)) && *svp) {
STRLEN plen;
char *server_pubkey = SvPV(*svp, plen);
from dbi.
DBD::mysql driver has known problems with (new version of) MariaDB clients. You can look at DBD::MariaDB driver https://metacpan.org/pod/DBD::MariaDB which is properly tested with lot of new MariaDB versions https://travis-ci.org/gooddata/DBD-MariaDB
from dbi.
This was fixed in DBD::mysql.
Please report DBD::mysql bugs int the DBD-mysql github project.
I think this issue should be closed.
from dbi.
@timbunce could you close this?
from dbi.
Related Issues (20)
- DBI seg fault in err_hash. HOT 1
- DBI::connect calls leak passwords on failure
- `begin_work` retval is sometimes incorrect if connection is `RaiseError => 0` HOT 11
- dbh->commit return value lost when run in perl debugger
- Error building DBDs on Monterey macOS HOT 2
- Implement attribute to reorganize data
- shebang "#!perl -w" HOT 1
- Use of deprecated GIMME macro
- local $dbh->{HandleError} = ... is not localized
- Reordering @_ in Callbacks HOT 1
- missing abs_path failure handling in DBD::File HOT 5
- [feature request] user/pass in DSN
- Tests fail using built-in Perl 5.18 on macOS Catalina HOT 2
- Perl length() returns the wrong value on array elements returned by fetchrow_arrayref() HOT 2
- documentation of second param %attr of $dbh->prepare() and $dbh->do() missing
- dbih_getcom handle DBI::dr=... is not a DBI handle (has no magic) during global destruction HOT 1
- dyld: lazy symbol binding failed: Symbol not found: _mysql_init
- ./make and ./make test cannot find gcc while gcc has been installed on Ubuntu.
- Memory corruption via selectrow_array + SQLite UDF
- (fetch|select)all_arrayref_hashref
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbi.