1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix the error message returned by sqlite3session_diff() for tables with no PRIMARY KEY.

FossilOrigin-Name: 4d34a3d40da210bebb2a2e6dff094f9a39c92798
This commit is contained in:
dan
2015-04-23 15:03:14 +00:00
parent dd009f839c
commit 4cc923e3e3
5 changed files with 49 additions and 10 deletions

View File

@ -228,6 +228,7 @@ static int test_session_cmd(
assert( rc!=SQLITE_OK || zErr==0 );
if( zErr ){
Tcl_AppendResult(interp, zErr, 0);
sqlite3_free(zErr);
return TCL_ERROR;
}
if( rc ){