The sqlite3_trace() callback does not try to expand parameters in statements
that have no parameter. FossilOrigin-Name: 917e3c36293a1bf052a16116c93e5037ed712f96
This commit is contained in:
@@ -95,6 +95,8 @@ char *sqlite3VdbeExpandSql(
|
||||
assert( (zRawSql - zStart) > 0 );
|
||||
sqlite3StrAccumAppend(&out, zStart, (int)(zRawSql-zStart));
|
||||
}
|
||||
}else if( p->nVar==0 ){
|
||||
sqlite3StrAccumAppend(&out, zRawSql, sqlite3Strlen30(zRawSql));
|
||||
}else{
|
||||
while( zRawSql[0] ){
|
||||
n = findNextHostParameter(zRawSql, &nToken);
|
||||
|
||||
Reference in New Issue
Block a user