1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Add a 'const' to the opcodeProperty array in vdbe.c. (CVS 5661)

FossilOrigin-Name: 29c9a80294398a349bc7cf0fb84cd4ef8a9e2f60
This commit is contained in:
danielk1977
2008-09-02 11:05:01 +00:00
parent 5c8f858790
commit 263ac19474
4 changed files with 12 additions and 12 deletions

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.485 2008/08/28 02:26:07 drh Exp $
** @(#) $Id: pager.c,v 1.486 2008/09/02 11:05:02 danielk1977 Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
#include "sqliteInt.h"
@@ -578,7 +578,7 @@ static void seekJournalHdr(Pager *pPager){
*/
static int zeroJournalHdr(Pager *pPager, int doTruncate){
int rc = SQLITE_OK;
static const char zeroHdr[28];
static const char zeroHdr[28] = {};
if( pPager->journalOff ){
i64 iLimit = pPager->journalSizeLimit;