mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Bug fix: updates within a transaction would fail if there was existed
a temporary table. (CVS 425) FossilOrigin-Name: 02cc2d60b2a5ee50efdbd90df90810ba559a453f
This commit is contained in:
@ -201,9 +201,9 @@ const char *ParseTokenName(int tokenType){
|
||||
** A pointer to a parser. This pointer is used in subsequent calls
|
||||
** to Parse and ParseFree.
|
||||
*/
|
||||
void *ParseAlloc(void *(*mallocProc)(int)){
|
||||
void *ParseAlloc(void *(*mallocProc)(size_t)){
|
||||
yyParser *pParser;
|
||||
pParser = (yyParser*)(*mallocProc)( (int)sizeof(yyParser) );
|
||||
pParser = (yyParser*)(*mallocProc)( (size_t)sizeof(yyParser) );
|
||||
if( pParser ){
|
||||
pParser->idx = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user