2002-08-13 Daniel Morgan <danmorg@sc.rr.com>
[mono.git] / mcs / class / Mono.Data.MySql / ChangeLog
1 2002-08-13  Daniel Morgan <danmorg@sc.rr.com>
2
3         * Mono.Data.MySql/MySqlCommand.cs: modified
4         rowsRetrieved should be rowsAffected in ExecuteNonQuery
5         because the number is only to show the rows affected
6         by an INSERT, UPDATE, or DELETE; anything else, the
7         number is -1
8         
9         * Mono.Data.MySql/Test.cs: modified
10         enable retrieving the results from a query.  even though
11         this still does not work for some reason, i thought
12         i would enable it so others could see the problem.
13
14 2002-05-30  Daniel Morgan <danmorg@sc.rr.com>
15
16         * Mono.Data.MySql.build: modified
17         need to copy Mono.Data.MySql.dll to mcs/class/System.Data/Test
18         so the SqlSharpCli test program can use MySql too
19
20 2002-05-30  Daniel Morgan <danmorg@sc.rr.com>
21         
22         * Test/TestMySqlInsert.cs: added test
23         to do an SQL INSERT to insert a row into table.
24         Works on cygwin compiled using mcs and mono and
25         runs on mint, but it fails running on mono.
26         
27         * Mono.Data.MySql/MySqlCommand.cs
28         * Mono.Data.MySql/TODOAttribute.cs
29         * Mono.Data.MySql/MySqlConnection.cs: added
30         
31         * list: added
32         so can build with mcs/mono on linux
33         I only tested it on Cygwin though.
34         To work on linux, the library name in the pinvokes
35         in MySql.cs will need to be changed.
36         
37         * Mono.Data.MySql.build: modified
38         exclude files from build.  also copy Mono.Data.MySql.dll
39         to Mono.Data.MySql so you can build and run Test.cs
40         
41         * Mono.Data.MySql/MySql.cs: modified
42         tweaks to compile under mcs/mono and run under mint or mono.
43         Runs under mint, but not mono. Had to comment out 
44         mysql_thread_begin/mysql_thread_end functions because they refused
45         to load in mono.  Until this is fixed, a memory leak will occur.
46         Can not retrieve field data from MySQL because the PtrToStructure()
47         needs to be implemented in System.Runtime.InteropServices.Marshal class.
48         However, this will be very complicated to do.  So, we connect to
49         MySQL and execute SQL Commands, but we can not do Queries yet.
50                 
51         * Mono.Data.MySql/Test.cs: modified
52         tweaks to test C# bindings with compiling mcs/mono and
53         running on mint and mono.  Runs on mint, but not mono.
54
55 2002-05-28  Daniel Morgan <danmorg@sc.rr.com>
56
57         * Mono.Data.MySql
58         * Mono.Data.MySql/Mono.Data.MySql: add directories
59         for the Mono.Data.MySql assembly and namespace.  This
60         will contain the MySql .NET Data Provider which will use
61         C# bindings to libMySQL
62         
63         * Mono.Data.MySql/Test.cs: added file to
64         test the C# bindings to MySQL
65         
66         * Mono.Data.MySql/MySql.cs
67         * Mono.Data.MySql/Field.cs: added files
68         for the beginnings of C# bindings to MySQL
69         
70         * Mono.Data.MySql/makefile: added file
71         to build the MySQL C# bindings on csc/Microsoft.NET
72         
73         These C# bindings to the MySQL libMySQL.dll were created by
74         Brad Merrill <zbrad@cybercom.net> 
75         and can be downloaded from
76         http://www.cybercom.net/~zbrad/DotNet/MySql/
77         and put into the Mono Class Library under the X11/MIT License
78         with Brad Merril's permission.
79