Skip to content

Commit

Permalink
修复bug.
Browse files Browse the repository at this point in the history
修复bug.
  • Loading branch information
huangzhibiao committed May 4, 2018
1 parent 3f33a73 commit 8253ec1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,21 @@
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "BGFMDB/libs/BG/BGDB.m"
timestampString = "547109505.006078"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "1555"
endingLineNumber = "1555"
landmarkName = "-insertWithObject:ignoredKeys:complete:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
4 changes: 2 additions & 2 deletions BGFMDB/libs/BG/BGTool.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ @implementation BGTool
*/
NSString* bg_sqlValue(id value){

if ([value isKindOfClass:[NSNumber class]]) {
if([value isKindOfClass:[NSNumber class]]) {
return value;
}else if ([value isKindOfClass:[NSNumber class]]){
}else if([value isKindOfClass:[NSString class]]){
return [NSString stringWithFormat:@"'%@'",value];
}else{
NSString* type = [NSString stringWithFormat:@"@\"%@\"",NSStringFromClass([value class])];
Expand Down

0 comments on commit 8253ec1

Please sign in to comment.