Mercurial > p > mysql-python > mysqldb-2
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 |
rev | line source |
---|---|
8
fa8974a41c76
New error handling code, plus some small fixes from 1.2
adustman
parents:
diff
changeset
|
1 #!/bin/sh |
14 | 2 echo '""" |
3 MySQL ER Constants | |
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 | 9 """ |
10 __revision__ = "$Revision$"[11:-2] | |
11 __author__ = "$Author$"[9:-2] | |
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 |