view make_ER.sh @ 81:228a45771d14 MySQLdb

Remove $Revision$ and $Author$ refs as hg doesn't use them.
author Andy Dustman <adustman@users.sourceforge.net>
date Mon, 22 Feb 2010 22:58:16 -0500
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