1
# -*- coding: utf-8 -*-
3
Connector/Python, native MySQL driver written in Python.
4
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
16
You should have received a copy of the GNU General Public License along
17
with this program; if not, write to the Free Software Foundation, Inc.,
18
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1
# MySQL Connector/Python - MySQL driver written in Python.
2
# Copyright 2009 Sun Microsystems, Inc. All rights reserved
3
# Use is subject to license terms. (See COPYING)
5
# This program is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation.
9
# There are special exceptions to the terms and conditions of the GNU
10
# General Public License as it is applied to this software. View the
11
# full text of the exception in file EXCEPTIONS-CLIENT in the directory
12
# of this software distribution or see the FOSS License Exception at
15
# This program is distributed in the hope that it will be useful,
16
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
# GNU General Public License for more details.
20
# You should have received a copy of the GNU General Public License
21
# along with this program; if not, write to the Free Software
22
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24
"""Various MySQL constants and character sets
21
27
from errors import ProgrammingError