dabo Commit
Revision 2635
Date: 2007-01-09 10:03:14 -0800 (Tue, 09 Jan 2007)
Author: Paul

Changed:
U   branches/paul_sandbox/dabo/db/dbMySQL.py

Log:
This should have gone with the last commit.


Diff:
Modified: branches/paul_sandbox/dabo/db/dbMySQL.py
===================================================================
--- branches/paul_sandbox/dabo/db/dbMySQL.py    2007-01-09 16:38:51 UTC (rev 
2634)
+++ branches/paul_sandbox/dabo/db/dbMySQL.py    2007-01-09 18:03:14 UTC (rev 
2635)
@@ -120,8 +120,10 @@
                        ft = r[1]
                        if ft.split()[0] == "tinyint(1)" or "bit" in ft:
                                ft = "B"
-                       elif "int" in ft or ft == "long":
+                       elif "int" in ft:
                                ft = "I"
+                       elif ft == "long":
+                               ft = "G"
                        elif "varchar" in ft:
                                # will be followed by length
                                ln = int(ft.split("(")[1].split(")")[0])




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to