Mercurial > p > mysql-python > mysqldb-2
view make_ER.sh @ 73:24fa6a40c706 MySQLdb
Added a simple_fetch_row() to the result object that simply returns one row
as a tuple of strings (or None for NULL values). Result objects are also
now iterators which internally use simple_fetch_row().
author | adustman |
---|---|
date | Fri, 19 Feb 2010 02:21:11 +0000 |
parents | 7773efbe9b30 |
children |
line wrap: on
line source
#!/bin/sh echo '""" MySQL ER Constants ------------------ These constants are error codes for the bulk of the error conditions that may occur. """ __revision__ = "$Revision$"[11:-2] __author__ = "$Author$"[9:-2] ' sed -e 's|/\* \(.*\) \*/|# \1|' -e 's/^#define \(ER_\)*//' -e 's/ \([0-9][0-9]*\)/ = \1/' </usr/include/mysql/mysqld_error.h