From b448ac11069571e1395f602e7ff8d6178611dc37 Mon Sep 17 00:00:00 2001 From: kishoramballi Date: Mon, 26 May 2008 13:17:27 +0000 Subject: [PATCH] typos corrected --- src/cache/CacheTableLoader.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cache/CacheTableLoader.cxx b/src/cache/CacheTableLoader.cxx index d23ea9aa..a63bbc4f 100644 --- a/src/cache/CacheTableLoader.cxx +++ b/src/cache/CacheTableLoader.cxx @@ -27,7 +27,7 @@ DbRetVal CacheTableLoader::addToCacheTableFile() //TODO::if already table present in the file, it means that the //table is replicated. in this case change mode from //2 to 3 (repl to replcache) - fprintf(fp, "%d:%d:%s\n", 1, tableName); + fprintf(fp, "%d:%s\n", 1, tableName); fclose(fp); return OK; } @@ -254,7 +254,7 @@ DbRetVal CacheTableLoader::load(DatabaseManager *dbMgr, bool tabDefinition) case typeTimeStamp: bBuf = new BindBuffer(); bBuf->csql = valBuf; - bBuf->type = typeDate; + bBuf->type = typeTimeStamp; fieldsize = sizeof(TIMESTAMP_STRUCT); bBuf->targetdb = malloc(fieldsize); valBuf = bBuf->targetdb; -- 2.11.4.GIT