On 9/19/2014 4:36 PM, Andrea Peri wrote:
printf("%s",argv[0]);
argv[0] is sqlite_value*, not a char*. It's not a pointer to a NUL-terminated string, which is what %s format specifier expects.
Instead If I use this other printf("%s",sqlite3_value_text(argv[0])); I have correctly "aaa"
So what seems to be the problem then?
I don't understand why this difference
I don't understand why you expected there to *not* be a difference between a program that performs a nonsensical action, and a program that uses the API in accordance with the documentation.
-- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users