annotate make_ER.sh @ 61:8506ded95181 MySQLdb

Move the test_suite config to where it belongs
author adustman
date Sun, 08 Mar 2009 16:02:16 +0000
parents 7773efbe9b30
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
fa8974a41c76 New error handling code, plus some small fixes from 1.2
adustman
parents:
diff changeset
1 #!/bin/sh
14
7773efbe9b30 Formatting and PyLint fixes. Final score: 8.21/10
adustman
parents: 8
diff changeset
2 echo '"""
7773efbe9b30 Formatting and PyLint fixes. Final score: 8.21/10
adustman
parents: 8
diff changeset
3 MySQL ER Constants
7773efbe9b30 Formatting and PyLint fixes. Final score: 8.21/10
adustman
parents: 8
diff changeset
4 ------------------
8
fa8974a41c76 New error handling code, plus some small fixes from 1.2
adustman
parents:
diff changeset
5
fa8974a41c76 New error handling code, plus some small fixes from 1.2
adustman
parents:
diff changeset
6 These constants are error codes for the bulk of the error conditions
fa8974a41c76 New error handling code, plus some small fixes from 1.2
adustman
parents:
diff changeset
7 that may occur.
fa8974a41c76 New error handling code, plus some small fixes from 1.2
adustman
parents:
diff changeset
8
14
7773efbe9b30 Formatting and PyLint fixes. Final score: 8.21/10
adustman
parents: 8
diff changeset
9 """
7773efbe9b30 Formatting and PyLint fixes. Final score: 8.21/10
adustman
parents: 8
diff changeset
10 __revision__ = "$Revision$"[11:-2]
7773efbe9b30 Formatting and PyLint fixes. Final score: 8.21/10
adustman
parents: 8
diff changeset
11 __author__ = "$Author$"[9:-2]
7773efbe9b30 Formatting and PyLint fixes. Final score: 8.21/10
adustman
parents: 8
diff changeset
12 '
8
fa8974a41c76 New error handling code, plus some small fixes from 1.2
adustman
parents:
diff changeset
13 sed -e 's|/\* \(.*\) \*/|# \1|' -e 's/^#define \(ER_\)*//' -e 's/ \([0-9][0-9]*\)/ = \1/' </usr/include/mysql/mysqld_error.h