When you create a function with sqlite3_create_function, the callback
function is something like:
myFunc(sqlite3_context *context, int argc, sqlite3_value **argv)
{
}
Is it possible to get the name of the function that the callback was
called because of? I want to write just one callback
I believe ODBC will do type conversions for you. If not, use sscanf.
All sqlite data is stored as strings, I believe, anyway, so there's lots
of type conversion going whether it's explicit or not.
Representing dates as floating point numbers can be tricky because of
subtle rounding issues,
at this point, so don't try
anything important with it.
Thanks,
Omar
Igor Tandetnik wrote:
Will Leshner <[EMAIL PROTECTED]>
wrote:
On 6/4/07, Omar Eljumaily
wrote:
qlite3_prepare_v2(con->_db, text.c_str(), text.size(), &_stmt,
); sqlite3_bind_text(_stmt, which, s.c_
Igor Tandetnik wrote:
Do you, by any chance, begin a transaction, perform the updates, then
close the DB connection without committing the transaction (e.g. when
exiting the app)? If you do this or something similar, the transaction
gets rolled back.
Igor Tandetnik
This is what I have
I have this problem where my application is is dropping updates after
exiting my application.
create mytable
{
int id primary key,
name text
};
Something like:
"insert into mytable(name) values('myname')"
would update properly.
However
"update mytable set name = 'newname' where id = 1"
5 matches
Mail list logo