Code Monkey home page Code Monkey logo

tntdb's People

Contributors

aggsol avatar ghinadr avatar jouven avatar maekitalo avatar olafradicke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tntdb's Issues

Runtime error with g++10

In file tntdb/src/librarymanager.cpp I found out on my Debian 11 with g++10, that the following is not working anymore:


    std::string d = DRIVERDIR + cxxtools::Directory::sep() + libraryPrefix + driverName;
    log_debug("loading library \"" << d << '"');
    lib = cxxtools::Library(d);

To get it work, I have changed the code to:

    std::string d(DRIVERDIR);
    d += cxxtools::Directory::sep() + libraryPrefix + driverName;
    log_debug("loading library \"" << d << '"');
    lib = cxxtools::Library(d);

Best regards,
Sven

tntdb on Ubuntu on Windows 10: Erros with MySQL

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

Please release 1.4 or add pkg-config patch to 1.3

Related to some issue in pulling automatically dependencies for a project (tntdb here), we still depend on 1.3 and fail due to the missing pkg-config support. Going with master produce compilation failure.

Please release 1.4 or accept PR #10 for branch 1.3 (really needed on that branch)
thx a lot and enjoy the end of the year celebrations

Connection error

Hello,

We updated tntdb this morning with the latest version.
Now we get the following error when connecting to postgresql :

failed to load driver "tntdb5-postgresql"

Jean-Marc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.