[DB-SIG] PDO and number field

Derek Croxton croxton3 at yahoo.com
Fri Oct 24 13:16:50 EDT 2003


I'm getting a strange result when accessing a numeric (identity) field 
in MySQL with PDO:  instead of returning 1 (or 2 or 3, etc.), it returns 
1L (or 2L or 3L, etc.).  I have no idea where this behaviour is coming 
from, nor what to do about it.  Has anyone else seen this?

(Using PDO 1.0.2 and Python 2.3.)

Sincerely,
Derek Croxton
croxton3 at yahoo.com





More information about the DB-SIG mailing list