Monotone-Parent: 72afba9e20695bc88d32c0eb61dd396b9f67e013

Monotone-Revision: e13dda2a639bb68b9e67d7b4dd75235d9d98ef1b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-20T16:43:48
maint-2.0.2
Wolfgang Sourdeau 2012-01-20 16:43:48 +00:00
parent d4bdec26c7
commit 29ce01947a
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-01-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* GCSSpecialQueries.m (-createSessionsFolderWithName:): declare
c_id as primary key to make sure it's indexed.
2011-12-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* GCSFolder.m (-releaseChannel:): perform the debug logging BEFORE

View File

@ -190,7 +190,7 @@
{
static NSString *sqlFolderFormat
= (@"CREATE TABLE %@ ("
@" c_id VARCHAR(255) NOT NULL,"
@" c_id VARCHAR(255) NOT NULL PRIMARY KEY,"
@" c_value VARCHAR(255) NOT NULL,"
@" c_creationdate INT4 NOT NULL,"
@" c_lastseen INT4 NOT NULL)");
@ -284,7 +284,7 @@
{
static NSString *sqlFolderFormat
= (@"CREATE TABLE %@ ("
@" c_id VARCHAR(255) NOT NULL,"
@" c_id VARCHAR(255) NOT NULL PRIMARY KEY,"
@" c_value VARCHAR(255) NOT NULL,"
@" c_creationdate INT NOT NULL,"
@" c_lastseen INT NOT NULL)");
@ -377,7 +377,7 @@
{
static NSString *sqlFolderFormat
= (@"CREATE TABLE %@ ("
@" c_id VARCHAR2(255) NOT NULL,"
@" c_id VARCHAR2(255) NOT NULL PRIMARY KEY,"
@" c_value VARCHAR2(255) NOT NULL,"
@" c_creationdate INTEGER NOT NULL,"
@" c_lastseen INTEGER NOT NULL)");