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

A change to lemon related to ticket #313. (CVS 972)

FossilOrigin-Name: b59d9033d5556015543ac5ca23110ccbeb4391f0
This commit is contained in:
drh
2003-05-13 00:34:21 +00:00
parent fe4184f8d1
commit 3b2129cf77
3 changed files with 8 additions and 9 deletions

View File

@ -2906,8 +2906,7 @@ int mhflag; /* True if generating makeheaders output */
for(j=0; stddt[j]; j++){
hash = hash*53 + stddt[j];
}
if( hash<0 ) hash = -hash;
hash = hash%arraysize;
hash = (hash & 0x7fffffff)%arraysize;
while( types[hash] ){
if( strcmp(types[hash],stddt)==0 ){
sp->dtnum = hash + 1;