Commit Graph

198 Commits

Author SHA1 Message Date
adustman
6024695c34 Fix classifiers and package file handling 2006-02-28 17:50:22 +00:00
adustman
344a8a3d2c Fix distribution naming 2006-02-28 17:36:32 +00:00
adustman
718a02ea0e Derive all version information from metadata.cfg 2006-02-28 17:16:50 +00:00
adustman
5e867b6f18 Fix embedded build 2006-02-28 16:34:16 +00:00
adustman
45c9f5d0ed * Update README
* Completely rewrite setup.py

* Make pytimes the only time implementation, moved into times
2006-02-28 04:19:27 +00:00
adustman
b3ce052525 Python Sets (from sets module) as parameters work, but *only* Set
and not ImmutableSet. Still trying to get it to work on BaseSet
so any subclasses will work.
2006-02-27 23:10:38 +00:00
adustman
ae901f0a4f Fix client_flag fubar and add support for more detailed warning
information available from MySQL-4.1 and newer server.
2006-02-27 18:48:57 +00:00
adustman
36158116b1 Add sets module support and make boolean support non-optional 2006-02-27 18:39:53 +00:00
adustman
b14a0fa91d Remove sets module in favor of standard sets module (Python-2.3 and
newer)
2006-02-27 17:19:40 +00:00
adustman
b13701f252 Remove FIELD_TYPE.CHAR (deprecated) from STRING set since it conflicts
with FIELD_TYPE.TINY (NUMBER).
2006-02-27 15:45:37 +00:00
adustman
e11b39a4f4 Fix fubared TimeDelta_or_None and Time_or_None 2006-02-27 05:49:26 +00:00
adustman
e23802d4d0 Remove erroneous insert_id() on cursor reference. 2006-02-27 05:37:22 +00:00
adustman
854f8e904a Translate some additional error codes 2006-02-27 05:31:14 +00:00
adustman
d90d2c8875 Documentation is good. Correct documentation is better. 2006-02-27 04:48:02 +00:00
adustman
86d1087f16 Enable MULTI_STATEMENTS if the client library is 4.1 or newer.
Enable MULTI_RESULTS if the client library is 5.0 or newer.
2006-02-27 04:20:48 +00:00
adustman
720a726049 Encode queries to connection character set before inserting
parameters. Bug 1438913
2006-02-26 14:50:47 +00:00
adustman
de69219eb0 Generic DB-API unit test module 2006-02-25 03:44:32 +00:00
adustman
d9e78275c6 Add the DB API unit tester for MySQLdb 2006-02-25 03:43:47 +00:00
adustman
1259565a78 * Fix callproc
* Subtle bug: fetchall() could return the entire result set
  over and over again if you called it multiple times (not
  likely)
2006-02-25 03:31:52 +00:00
adustman
47e9e8c7ee Add callproc() support. 2006-02-25 00:56:15 +00:00
adustman
c1e9fbc54b Don't convert binary varchar columns to unicode.
Patch 1387290
2006-02-25 00:43:09 +00:00
adustman
6cebc27929 Include my_config.h so that SSL support can be properly detected. 2006-02-25 00:33:17 +00:00
adustman
ab1936ab44 Apply Gentoo patch for NEWDECIMAL support (MySQL-5.0) 2006-02-23 02:00:58 +00:00
adustman
5692c4c3bd Version 1.2.1c3:
* _mysql.c: raise ProgrammingError for certain methods if they
  are used on Result object created with conn.use_result(),
  since they don't make sense.

* setup.py: Reimplement quote stripping around directory names.
  This seems to be a bug in older versions of mysql_config

* cursors.py: If a unicode query string is passed, encode it in
  the connection's character set.
2005-05-12 02:08:50 +00:00
adustman
a400476718 Fix Debian information 2005-05-01 18:41:32 +00:00
adustman
f58ed4b020 * removed directory filtering in setup.py; should no longer be necessary,
and it seems to cause problems on some platforms or versions of MySQL
  (most likely 3.23's mysql_config)

* removed use of weak references; I don't think they were needed any more,
  and they caused problems in some of the threaded tests.

* applied patch #1188359: If converters are passed in, use a copy().

* Version 1.2.1c2.
2005-05-01 00:09:25 +00:00
adustman
cebe539399 Version 1.2.1c1 2005-04-10 20:56:55 +00:00
adustman
14807597cb This should fix the problem with Fedora Core noted on bug
#1145226: On library/include paths, remove quotation marks,
if present.
2005-04-10 20:50:29 +00:00
adustman
ee9db58306 Apply patch #1179364 for bug #1037468:
DeprecationWarnings for deprecated methods.
2005-04-10 20:41:29 +00:00
adustman
3715476b92 Restore the begin() method, but issue a DeprecationWarning. 2005-04-03 05:17:34 +00:00
adustman
fa20c1906c Add iterator protocol to SSCurors.
Issue deprecation warnings for special DictCursor methods.
2005-04-03 05:15:51 +00:00
adustman
a4892cd07e Merge in changes from the trunk 2005-04-03 04:23:18 +00:00
adustman
ba4cea7fdf Fix connection leak 2005-02-04 17:03:46 +00:00
adustman
6729b187d2 * Version 1.1.10
* Minor doc updates and setup tweaks.
2005-02-01 04:01:40 +00:00
adustman
fe384a9f09 Add additional documentation for RPM build. 2005-01-27 03:05:32 +00:00
adustman
4e0b3938ab Fix RPM build 2005-01-27 02:41:24 +00:00
adustman
f3752568e2 Windows fixes 2005-01-25 04:45:30 +00:00
adustman
aac9787605 Made setup.py usable for Windows again. You must set
the mysqlroot environment variable or patch to make
it actually work.
2005-01-23 06:56:55 +00:00
adustman
26b64c6af0 Bug #770825 2005-01-23 05:47:40 +00:00
adustman
1867e3accb add load_infile option and more doc cleanups 2005-01-23 04:49:04 +00:00
adustman
ebd7a3e62a Documentation updates. 2005-01-21 03:25:30 +00:00
adustman
16a5822dae * Bump version to 1.1.9
* Reworked Unicode support; please test

 * Make Binary() create an array('c')

 * Clean up Cursors a bit.

 * Add a TimeDelta factory function, even though not in the API spec.
2005-01-20 04:20:19 +00:00
adustman
8900d410ae * make sure charset has a default (None)
* eliminate lambda usage
2005-01-17 01:51:00 +00:00
adustman
249ab4d23e Should now auto-detect all build settings for any platform.
win32 now requires win32pipe to build. Build has only been
tested on Linux, but AFAIK, os.popen() works properly on
all other platforms, and certainly must work on anything
remotely POSIX/UNIX-like. I am assuming that it will work
on Mac OS X as well.
2005-01-15 02:16:26 +00:00
adustman
f0d497d8f3 * Overhaul setup.py
* Clean up warnings in _mysql.c when SSL is not available

* Tidy up MANIFEST.in
2005-01-13 05:00:29 +00:00
adustman
8c33cd718c Add GEOMETRY (new in MySQL-4.1) 2005-01-05 03:44:02 +00:00
adustman
47ded12f98 Fix some formatting problems 2005-01-01 00:10:20 +00:00
adustman
bad2cc11dc Clean up handling of warnings and make cursor.messages
actually useful for something.
2004-12-31 23:38:21 +00:00
adustman
8f4649dbd2 Version 1.1.8 2004-12-31 22:41:11 +00:00
adustman
8802176f03 Remove old CHANGELOG. Include some test programs, which are
not in CVS.
2004-12-31 22:36:50 +00:00