diff options
author | avenjamin <avenjamin@gmail.com> | 2009-04-22 04:25:43 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2009-04-22 04:25:43 +0000 |
commit | 3271be602a018a9c7872429c395139b9546d0ef2 (patch) | |
tree | c0005d8dbc6d0274571ffc3ab49bca23079e2cd7 /Source/sequel-pro_Prefix.pch | |
parent | aa60169e5a05bc91f2cf4f4f2377ca894755ef9e (diff) | |
download | sequelpro-3271be602a018a9c7872429c395139b9546d0ef2.tar.gz sequelpro-3271be602a018a9c7872429c395139b9546d0ef2.tar.bz2 sequelpro-3271be602a018a9c7872429c395139b9546d0ef2.zip |
- Fixed an issue causing a crash with large SQL imports. NSLog was dumping the sql file and was crashing due to the size of the file. Line is commented out in non-Debug builds.
Diffstat (limited to 'Source/sequel-pro_Prefix.pch')
-rw-r--r-- | Source/sequel-pro_Prefix.pch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/sequel-pro_Prefix.pch b/Source/sequel-pro_Prefix.pch index 8df1011d..0fa8023c 100644 --- a/Source/sequel-pro_Prefix.pch +++ b/Source/sequel-pro_Prefix.pch @@ -5,3 +5,11 @@ #ifdef __OBJC__ #import <Cocoa/Cocoa.h> #endif + +#ifdef DEBUG + #define DLog(...) NSLog(__VA_ARGS__) +#else + #define DLog(...) /* */ +#endif + +#define ALog(...) NSLog(__VA_ARGS__)
\ No newline at end of file |