aboutsummaryrefslogtreecommitdiffstats
path: root/Source/sequel-pro_Prefix.pch
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-04-22 04:25:43 +0000
committeravenjamin <avenjamin@gmail.com>2009-04-22 04:25:43 +0000
commit3271be602a018a9c7872429c395139b9546d0ef2 (patch)
treec0005d8dbc6d0274571ffc3ab49bca23079e2cd7 /Source/sequel-pro_Prefix.pch
parentaa60169e5a05bc91f2cf4f4f2377ca894755ef9e (diff)
downloadsequelpro-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.pch8
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