New test.
[mono.git] / mcs / class / Mono.Data.SqliteClient / Mono.Data.SqliteClient / ChangeLog
index dc29fb9e36fddccb6be0968950a967bcf03aa484..ca760231f9e11a85c68c459bc704fd8bd4a652cc 100644 (file)
@@ -1,3 +1,90 @@
+2006-09-14  Mart Roosmaa <roosmaa@gmail.com> 
+
+       * SqliteCommand.cs: Handle enums by their underliying type.
+
+2006-09-13  Mart Roosmaa <roosmaa@gmail.com> 
+
+       * SqliteDataReader.cs: Implemented GetBytes ().
+       * SqliteCommand.cs: Automatically convert enums to Int32.
+
+2006-08-20  Joshua Tauberer  <jt@occams.info>
+
+       * SqliteConnection.cs: Changed Version property (which is
+         read-only) from internal to public so users can know
+         which version of Sqlite was actually connected to.
+
+2006-05-25  Joshua Tauberer  <tauberer@for.net>
+
+       * SqliteCommand.cs: Unnamed parameters by index weren't
+         implemented.
+
+2006-05-13  Joshua Tauberer  <tauberer@for.net>
+
+       Reported by Sebastian Dröge <slomo@ubuntu.com>.
+       * Sqlite.cs: The binding for sqlite3_last_insert_rowid had
+         the wrong type for the return (int vs long).
+       * SqliteConnection: LastInsertRowId: I didn't want to break
+         the public API, so it casts the long return from that
+         to an int.
+       * SqliteCommand: LastInsertRowID(): Wrap the above property.
+
+2006-03-14  Kamil Skalski  <nazgul@nemerle.org>
+
+       * SqliteConnection.cs, Sqlite.cs: Add option for specifying busy
+       timeout in underlying sqlite structure. It allows enabling
+       automatic waiting for lock cleanup in multithreaded usage.
+       
+
+2006-03-11  Joshua Tauberer  <tauberer@for.net>
+
+       * Use HGlobal rather than CoTaskMem String-To-Ptr functions in
+         Marshal class.  StringToCoTaskMemAnsi is broken (pending it
+         being fixed): it actually uses Ansi, instead of UTF-8.  Now,
+         Sqlite2 with no encoding parameter uses UTF-8 encoding.  Any
+         Sqlite2 DB since Jan. 20 was encoded in ANSI but unreadable
+         back.
+
+2006-03-07  Kamil Skalski  <nazgul@nemerle.org>
+
+       * SqliteDataReader.cs: Handle null values in result as having
+       string type
+
+2006-02-10  Joshua Tauberer  <tauberer@for.net>
+
+       * SqliteDataReader: Made 64bit clean.  Patch from
+         Joe Shaw <joeshaw@novell.com>.
+
+2006-01-22  Joshua Tauberer  <tauberer@for.net>
+
+       Most of the below fixes (in previous changes too) are thanks
+       to Thomas Zoechling and Tom Surace, and the byte[]->blob
+       parameter binding is thanks to <pablosantosluac@terra.es>.
+       
+       * SqliteCommand.cs:
+         - Don't use a regex for finding parameters in v2.
+         It didn't work when there were no parameters in
+         the query (infinite loop of some sort -- should be filed
+         as a Mono bug I guess).  Just scan for parameters names
+         that aren't within quotes.
+         - That wasn't even being called.  Now it is.
+         - Marshaling for sqlite3_bind_parameter_name was wrong, as
+         was the unicode call to bind_text16 which was looking for
+         byte length of string while we were providing char length.
+         - Bind byte[] parameters as blobs.
+         - Trim the SQL string.  Trailing spaces makes it think
+         another statement is coming along.
+       * SqliteDataReader.cs: When DATE/DATETIME columns come
+         back as Int64s, return them using DateTime.FromFileTime.
+         And don't return Int64s as ints if they aren't in the
+         range of an int.
+         - Check column names case-insensitively (bug 77272).
+       * SqliteParameter.cs: Public parameter names made nicer.
+       * SqliteParameterCollection.cs: Allow users to set parameter
+         names with or without the : prefix that Sqlite wants.
+       * Sqlite.cs: Supporting changes.
+       * SqliteDataReader, SqliteConnection: ToLower with the
+         invariant culture (bug 77372).
+
 2006-01-20  Joshua Tauberer  <tauberer@for.net>
 
        * Sqlite3 calls now use unicode encoding.  Sqlite2