Author: wyoung
Date: Sat Dec 22 11:41:38 2007
New Revision: 2015
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2015&view=rev
Log:
- Moved backwards compatible class #defines for result set classes from
lib/result.h to mysql++.h.in.
- Added several more #defines, and changed the name of the macro that
turns this feature on to a shorter, more generic name.
Modified:
trunk/lib/mysql++.h.in
trunk/lib/result.h
Modified: trunk/lib/mysql++.h.in
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/mysql%2B%2B.h.in?rev=2015&r1=2014&r2=2015&view=diff
==============================================================================
--- trunk/lib/mysql++.h.in (original)
+++ trunk/lib/mysql++.h.in Sat Dec 22 11:41:38 2007
@@ -69,6 +69,19 @@
/// the actual library you're linking to.
MYSQLPP_EXPORT unsigned int get_library_version();
+// This won't exist forever! Wean yourself away from these as soon as
+// you can!
+#if defined(MYSQLPP_OLD_CLASS_NAMES)
+# define ColData String
+# define NullisBlank NullIsBlank
+# define NullisNull NullIsNull
+# define NullisZero NullIsZero
+# define ResNSel SimpleResult
+# define Result StoreQueryResult
+# define ResUse UseQueryResult
+# define SQLString SQLTypeAdapter
+#endif
+
} // end namespace mysqlpp
#endif // !defined(MYSQLPP_MYSQLPP_H)
Modified: trunk/lib/result.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/result.h?rev=2015&r1=2014&r2=2015&view=diff
==============================================================================
--- trunk/lib/result.h (original)
+++ trunk/lib/result.h Sat Dec 22 11:41:38 2007
@@ -415,15 +415,6 @@
y = tmp;
}
-// This won't exist forever! Wean yourself away from these as soon as
-// you can!
-#if defined(MYSQLPP_BACKWARDS_COMPATIBLE_RESULT_TYPES)
-# define ResNSel SimpleResult
-# define Result StoreQueryResult
-# define ResUse UseQueryResult
-#endif
-
-
} // end namespace mysqlpp
#endif // !defined(MYSQLPP_RESULT_H)
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits