1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix for ticket #542. (CVS 1151)

FossilOrigin-Name: 458cfa5ba82f2d676e398437a4b1d26d77582d10
This commit is contained in:
drh
2003-12-31 17:25:47 +00:00
parent 07fa2a60ea
commit 89ef0eeb9b
3 changed files with 9 additions and 9 deletions

View File

@@ -16,7 +16,7 @@
** sqliteRegisterDateTimeFunctions() found at the bottom of the file.
** All other code has file scope.
**
** $Id: date.c,v 1.5 2003/12/24 01:41:19 dougcurrie Exp $
** $Id: date.c,v 1.6 2003/12/31 17:25:48 drh Exp $
**
** NOTES:
**
@@ -440,7 +440,7 @@ static int parseModifier(const char *zMod, DateTime *p){
int n;
double r;
char z[30];
for(n=0; n<sizeof(z)-1; n++){
for(n=0; n<sizeof(z)-1 && zMod[n]; n++){
z[n] = tolower(zMod[n]);
}
z[n] = 0;