MXS-1783 Add 10.4 support

qc_mysqlembedded can now be built using the embedded library from
MariaDB 10.4.
This commit is contained in:
Johan Wikman
2019-05-31 10:57:40 +03:00
parent de3c5721e9
commit b635cc92ab
5 changed files with 263 additions and 75 deletions

View File

@ -11,7 +11,10 @@ SET sql_mode=ORACLE;
SELECT LENGTH(null), LENGTH('a'), LENGTH(123);
SELECT LENGTHB(null), LENGTHB('a'), LENGTHB(123);
# 10.4 based qc_mysqlembedded recognizes this as QUERY_TYPE_READ, while
# 10.3 based one recognizes it as QUERY_TYPE_WRITE (i.e. it does not
# recognize it). qc_sqlite now (May 2019) recognizes it always as READ.
#SELECT LENGTHB(null), LENGTHB('a'), LENGTHB(123);
# qc_sqlite: SELECT LENGTH(_utf8 0xC39F), LENGTH(CHAR(14844588 USING utf8));
# Sqlite3 error: SQL logic error or missing database, near "0xC39F": syntax error