import of linux sqlite build

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401212
This commit is contained in:
David Anderson
2007-07-29 01:29:27 +00:00
parent 92e7e70ea3
commit efad023796
3 changed files with 35 additions and 7 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ DBResult SqResults::CopyString(unsigned int columnId, char *buffer, size_t maxle
field->type = SQLITE_TEXT;
res = DBVal_Null;
}
size_t wr;
size_t wr = 0;
if (field->type == SQLITE_TEXT)
{
wr = strncopy(buffer, ptr, maxlength);
+2 -2
View File
@@ -80,10 +80,10 @@ private:
sqlite3_stmt *m_pStmt; /** DOES NOT CHANGE */
String *m_ColNames; /** DOES NOT CHANGE */
unsigned int m_ColCount; /** DOES NOT CHANGE */
BaseStringTable m_Strings; /** DOES NOT CHANGE */
BaseMemTable *m_pMemory; /** DOES NOT CHANGE */
unsigned int m_RowCount;
unsigned int m_MaxRows;
BaseMemTable *m_pMemory; /** DOES NOT CHANGE */
BaseStringTable m_Strings; /** DOES NOT CHANGE */
SqField *m_Rows;
unsigned int m_CurRow;
unsigned int m_NextRow;