SQLite Forum

sqlite3_sql return value
Login
I am on the wal2 branch.

prepare with this sql:

"
REPLACE INTO tab1 VALUES(abs(random() % 100));
REPLACE INTO tab1 VALUES(abs(random() % 100));
REPLACE INTO tab1 VALUES(abs(random() % 100));
REPLACE INTO tab1 VALUES(abs(random() % 100));
REPLACE INTO tab1 VALUES(abs(random() % 100));
"

sqlite3_sql only return this:

"
REPLACE INTO tab1 VALUES(abs(random() % 100));
"

Is this correct ?  how I can get the full SQL related with the stmt ?