Author: wyoung
Date: Sat Dec 8 00:53:45 2007
New Revision: 1987
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1987&view=rev
Log:
More sql_cmp() and type tweaks and fixes in custom.pl
Modified:
trunk/lib/custom.pl
Modified: trunk/lib/custom.pl
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/custom.pl?rev=1987&r1=1986&r2=1987&view=diff
==============================================================================
--- trunk/lib/custom.pl (original)
+++ trunk/lib/custom.pl Sat Dec 8 00:53:45 2007
@@ -61,6 +61,8 @@
#include <string>
+namespace mysqlpp {
+
enum sql_dummy_type { sql_dummy };
---
@@ -83,8 +85,7 @@
$suppress_statics_end = ')';
}
-my @types = ("mysqlpp::Date", "mysqlpp::DateTime",
- "mysqlpp::Time", "mysqlpp::String", "std::string");
+my @types = ("Date", "DateTime", "Time", "String", "std::string");
foreach my $type (@types) {
print OUT0 << "---";
@@ -95,8 +96,12 @@
---
}
[EMAIL PROTECTED] = ("char", "unsigned char", "sql_tinyint", "int", "unsigned
int",
- "short int", "unsigned short int", "unsigned long", "long");
[EMAIL PROTECTED] = (
+ "char", "unsigned char",
+ "sql_tinyint", "sql_tinyint_unsigned",
+ "int", "unsigned",
+ "short", "unsigned short",
+ "long", "unsigned long");
foreach my $type (@types) {
print OUT0 << "---";
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits