Skip to content

tntdb on Ubuntu on Windows 10: Erros with MySQL #11

@dev8765

Description

@dev8765

My installed versions:
I have downloaded and installed the cxxtools-, tntnet- and tntdb-master.zip's this week on my client.

My client:
Bash on Ubuntu on Windows 10 (Creators update, 03-2017)
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
ldd (Ubuntu GLIBC 2.23-0ubuntu7) 2.23
For the "tntnet" command to be able to start I had to deactivate TCP_ACCEPT_DEFER (I commented the whole block in configure.ac).

The "tntdb-test" command is working fine on my client with sqlite3 3.11.0

But some of the asserts fail with my db server in my lan. Most are looking to be not important (testDouble, ininity, longval, ...).
But there are two issues that are scaring me.

My db server:
Linux kernel 2.6.32 (Mips cpu)
Debian 6.0.10
MySQL 5.1.73-1 (Debian)

Issue 1:
base::testTransaction: ASSERTION at base-test.cpp:371
not equal:
value1 (count)=
<3>
value2 (2)=
<2>

Issue 2:
types::testNull: OK
types::testBool: EXCEPTION
Mysql-Error 2014 in mysql_query: Commands out of sync; you can't run this command now
types::testShort: EXCEPTION
Mysql-Error 2014 in mysql_query: Commands out of sync; you can't run this command now
types::testInt: EXCEPTION
Mysql-Error 2014 in mysql_query: Commands out of sync; you can't run this command now
types::testLong: EXCEPTION
Mysql-Error 2014 in mysql_query: Commands out of sync; you can't run this command now
types::testUnsignedShort: EXCEPTION
Mysql-Error 2014 in mysql_query: Commands out of sync; you can't run this command now
...
types::testBlob: OK
types::testDate: OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions