Earlier this year
-
-
r153
(new method for propfind) committed by gusmueller
- new method for propfind
-
r152
( Added:
FMDB now checks for longLongValue in NSNu...) committed by gusmueller
- Added:
FMDB now checks for longLongValue in NSNumbers passed for selects or updates, and binds that
value to an sqlite int64
Thanks for the patch from Brian Stern!
Changed:
renamed getDataBaseSchema: to getSchema. It didn't actually use the param. whooops.
Added:
FMDB now checks for longLongValue in NSNumbers passed for selects or updates, and binds that
value to an sqlite int64
Thanks for the patch from Brian Stern!
Changed:
renamed getDataBaseSchema: to getSchema. It didn't actually use the param. whooops.
-
r151
( Reworked:
- (id)executeQuery:(NSString *)sql wit...) committed by gusmueller
- Reworked:
- (id)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray *)arguments;
- (BOOL) executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray *)arguments;
These two methods now point to:
- (id) executeQuery:(NSString*)sql withArgumentsInArray:(NSArray*)arrayArgs
orVAList:(va_list)args;
- (BOOL) executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray*)arrayArgs
orVAList:(va_list)args;
because the vargs were causing headaches in 64bit land, and on the iphone, and it's fragile
n' stuff.
Added:
- (FMResultSet*) getTableSchema:(NSString*)tableName;
- (BOOL) columnExists:(NSString*)tableName columnName:(NSString*)columnName;
to FMDatabaseAdditions. Patch from OZLB
Reworked:
- (id)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray *)arguments;
- (BOOL) executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray *)arguments;
These two methods now point to:
- (id) executeQuery:(NSString*)sql withArgumentsInArray:(NSArray*)arrayArgs
orVAList:(va_list)args;
- (BOOL) executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray*)arrayArgs
orVAList:(va_list)args;
because the vargs were causing headaches in 64bit land, and on the iphone, and it's fragile
n' stuff.
Added:
- (FMResultSet*) getTableSchema:(NSString*)tableName;
- (BOOL) columnExists:(NSString*)tableName columnName:(NSString*)columnName;
to FMDatabaseAdditions. Patch from OZLB
-
-
r149
(Added:
- (BOOL) tableExists:(NSString*)tableName;
...) committed by gusmueller
- Added:
- (BOOL) tableExists:(NSString*)tableName;
- (FMResultSet*) getDataBaseSchema:(NSString*)tableName;
to FMDatabaseAdditions. Patch from OZLB
Added:
- (BOOL) tableExists:(NSString*)tableName;
- (FMResultSet*) getDataBaseSchema:(NSString*)tableName;
to FMDatabaseAdditions. Patch from OZLB
-
r148
(added checks for running in 64 bit in a couple of the FMData...) committed by gusmueller
- added checks for running in 64 bit in a couple of the FMDatabaseAddition methods. They crashed
otherwise.
added checks for running in 64 bit in a couple of the FMDatabaseAddition methods. They crashed
otherwise.
-
-
-
r147
( Added:
- (BOOL) openWithFlags:(int)flags;
To FMD...) committed by gusmueller
- Added:
- (BOOL) openWithFlags:(int)flags;
To FMDatabase, which allows you to open up the database with certain flags for sqlite 3.5+
Thanks to Dan Wright for the addition.
Added:
- (BOOL) openWithFlags:(int)flags;
To FMDatabase, which allows you to open up the database with certain flags for sqlite 3.5+
Thanks to Dan Wright for the addition.
-
r146
(Left some debug statements in by accident) committed by gusmueller
- Left some debug statements in by accident
Left some debug statements in by accident
-
r145
(added 'UTF8StringFor*' to FMResultSet) committed by gusmueller
- added 'UTF8StringFor*' to FMResultSet
added 'UTF8StringFor*' to FMResultSet
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by saywake
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) Status changed by gusmueller
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by saywake
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by saywake
-
-
-
-
-
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by gusmueller
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by MarqueIV
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by MarqueIV
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by MarqueIV
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by MarqueIV
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) commented on by gusmueller
-
-
issue 11
(changed 'stringforcolumn' behavior with iPhone OS3) reported by saywake
-
-
r143
(fixed up databaseWithPath: to use [self alloc], which helps ...) committed by gusmueller
- fixed up databaseWithPath: to use [self alloc], which helps subclassers
fixed up databaseWithPath: to use [self alloc], which helps subclassers
-
issue 10
(FMDB thinks SQLITE_DONE and SQLITE_ROW are errors) Status changed by gusmueller
-
-
r142
( Added:
- (id)executeQuery:(NSString *)sql withArgume...) committed by gusmueller
- Added:
- (id)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray *)arguments;
- (BOOL) executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray *)arguments;
thanks to code from Phong Long.
Fix to FMResultSet's - (BOOL) hadError, as it was returning true for SQLITE_ROW & SQLITE_DONE,
which aren't actually errors.
Added:
- (BOOL) hasAnotherRow; which lets you know if there is another row waiting in the result set.
Thanks to code from Dave DeLong.
Added:
- (id)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray *)arguments;
- (BOOL) executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray *)arguments;
thanks to code from Phong Long.
Fix to FMResultSet's - (BOOL) hadError, as it was returning true for SQLITE_ROW & SQLITE_DONE,
which aren't actually errors.
Added:
- (BOOL) hasAnotherRow; which lets you know if there is another row waiting in the result set.
Thanks to code from Dave DeLong.
-
-
-
-
-
r141
(replaced sqlite3_prepare calls with sqlite3_prepare_v2, sinc...) committed by gusmueller
- replaced sqlite3_prepare calls with sqlite3_prepare_v2, since it's shiny and new.
Now making sure not to call any assembly if on the iphone (asm{ trap }).
Tested on 10.6. It works. Not that I didn't expect it not to- but you never know…
replaced sqlite3_prepare calls with sqlite3_prepare_v2, since it's shiny and new.
Now making sure not to call any assembly if on the iphone (asm{ trap }).
Tested on 10.6. It works. Not that I didn't expect it not to- but you never know…
-
-
-
-
r140
(Just one more tiny tiny test.
) committed by gusmueller
- Just one more tiny tiny test.
Just one more tiny tiny test.
-
r139
( stringForColumnIndex, stringForColumn, dataForColumnInde...) committed by gusmueller
- stringForColumnIndex, stringForColumn, dataForColumnIndex, dataForColumn,
dataNoCopyForColumnIndex, and dataNoCopyForColumn now return nil if a null value was inserted into
its table row. dateForColumnIndex already did this.
Also added the following methods to test if a column is null or not:
- (BOOL) columnIndexIsNull:(int)columnIdx
- (BOOL) columnIsNull:(NSString*)columnName
And finally, just general code cleanup + refactoring. Happy Cinco de Mayo!
stringForColumnIndex, stringForColumn, dataForColumnIndex, dataForColumn,
dataNoCopyForColumnIndex, and dataNoCopyForColumn now return nil if a null value was inserted into
its table row. dateForColumnIndex already did this.
Also added the following methods to test if a column is null or not:
- (BOOL) columnIndexIsNull:(int)columnIdx
- (BOOL) columnIsNull:(NSString*)columnName
And finally, just general code cleanup + refactoring. Happy Cinco de Mayo!
-
-
-
r138
(added ignore on a build directory) committed by gusmueller
- added ignore on a build directory
added ignore on a build directory
-
r137
(Added some svn ignores) committed by gusmueller
- Added some svn ignores
-
r136
(added columnNameForIndex: to FMResultSet which returns the c...) committed by gusmueller
- added columnNameForIndex: to FMResultSet which returns the column name for the given index.
added columnNameForIndex: to FMResultSet which returns the column name for the given index.
-
issue 7
(I'd like to see a 'nameForColumnIndex' method in FMResultSet) Status changed by gusmueller
-
-
issue 6
(Calling executeQuery on a closed database crashes app.) Status changed by gusmueller
-
-
-
|