[fa8974]: make_ER.sh  Maximize  Restore  History

Download this file

9 lines (6 with data), 255 Bytes

1
2
3
4
5
6
7
8
#!/bin/sh
echo '"""MySQL ER Constants
These constants are error codes for the bulk of the error conditions
that may occur.
"""'
sed -e 's|/\* \(.*\) \*/|# \1|' -e 's/^#define \(ER_\)*//' -e 's/ \([0-9][0-9]*\)/ = \1/' </usr/include/mysql/mysqld_error.h

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks