Re: [sqlite] Cannot insert a prepared bound text containing dash/dahes

2016-11-08 Thread Heribert
In my case have to use VS C++ 6.0 32 bit. Maybe this results too that behavior. > Am 08.11.2016 um 22:05 schrieb Richard Hipp : > > Unable to reproduce the problem. My test program is this: > > > #include > #include "sqlite3.h" > int main(int argc, char

Re: [sqlite] Cannot insert a prepared bound text containing dash/dahes

2016-11-08 Thread Richard Hipp
Unable to reproduce the problem. My test program is this: #include #include "sqlite3.h" int main(int argc, char **argv){ sqlite3 *db; if( argc!=2 ){ fprintf(stderr, "Usage: %s FILENAME\n", argv[0]); return 1; } const char *zDb = argv[1]; unlink(zDb);

[sqlite] Cannot insert a prepared bound text containing dash/dahes

2016-11-08 Thread heribert
Currently i'm using sqlite 3.15.0. I run into the problem that a TEXT field of a TABLE cannot be bind to a string containing a dash. If i remove or replace the dash/dashes against any character the prepared and bind statement works fine. Here two code fragments. The demo table is like