view make_ER.sh @ 36:38bf72f3c3de MySQLdb

Last merge of everything from 1.2br that went into 1.2.3b1 (499:567)
author kylev
date Thu, 12 Feb 2009 00:28:34 +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