2002-10-10 Rodrigo Moya <rodrigo@ximian.com>
[mono.git] / mcs / class / Mono.Data.MySql / ChangeLog
1 2002-10-10  Rodrigo Moya <rodrigo@ximian.com>
2
3         * makefile.gnu: added makefile for linux build.
4
5         * list: updated to contain all missing files.
6
7         * Mono.Data.MySql/makefile: removed unneeded makefile.
8
9 2002-10-09  Daniel Morgan <danmorg@sc.rr.com>
10
11         * Mono.Data.MySql/MySqlDataReader.cs: added
12           started implementing Reader for MySQL provider
13           
14         * Mono.Data.MySql/MySqlTypes.cs: added
15           to hold internal helper methods, enums, structs, classes
16           for handling MySQL data types
17
18         * Test/TestMySqlExecuteReader.cs
19         * Test/TestMySqlExecuteScalar.cs: added simple tests
20           for ExecuteScalar() and ExecuteReader() methods
21           in MySqlCommand.  We are able to retrieve data
22           from MySQL now.
23
24         * Mono.Data.MySql.build: took out exclude
25       so MySqlExecuteReader.cs will build
26       
27     * Mono.Data.MySql/Field.cs: added enum to file
28       and added helper methods field flags
29       
30     * Mono.Data.MySql/MySqlCommand.cs: started
31       implementation of ExecuteScalar nd ExecuteReader methods
32       to retrieve data.  Also, added internal method rowVal
33       for marshalling field data.
34       
35     * Mono.Data.MySql/Test.cs: take out a bunch of
36       Console.WriteLines'
37  
38 2002-08-13  Daniel Morgan <danmorg@sc.rr.com>
39
40         * Mono.Data.MySql/MySqlCommand.cs: modified
41         rowsRetrieved should be rowsAffected in ExecuteNonQuery
42         because the number is only to show the rows affected
43         by an INSERT, UPDATE, or DELETE; anything else, the
44         number is -1
45         
46         * Mono.Data.MySql/Test.cs: modified
47         enable retrieving the results from a query.  even though
48         this still does not work for some reason, i thought
49         i would enable it so others could see the problem.
50
51 2002-05-30  Daniel Morgan <danmorg@sc.rr.com>
52
53         * Mono.Data.MySql.build: modified
54         need to copy Mono.Data.MySql.dll to mcs/class/System.Data/Test
55         so the SqlSharpCli test program can use MySql too
56
57 2002-05-30  Daniel Morgan <danmorg@sc.rr.com>
58         
59         * Test/TestMySqlInsert.cs: added test
60         to do an SQL INSERT to insert a row into table.
61         Works on cygwin compiled using mcs and mono and
62         runs on mint, but it fails running on mono.
63         
64         * Mono.Data.MySql/MySqlCommand.cs
65         * Mono.Data.MySql/TODOAttribute.cs
66         * Mono.Data.MySql/MySqlConnection.cs: added
67         
68         * list: added
69         so can build with mcs/mono on linux
70         I only tested it on Cygwin though.
71         To work on linux, the library name in the pinvokes
72         in MySql.cs will need to be changed.
73         
74         * Mono.Data.MySql.build: modified
75         exclude files from build.  also copy Mono.Data.MySql.dll
76         to Mono.Data.MySql so you can build and run Test.cs
77         
78         * Mono.Data.MySql/MySql.cs: modified
79         tweaks to compile under mcs/mono and run under mint or mono.
80         Runs under mint, but not mono. Had to comment out 
81         mysql_thread_begin/mysql_thread_end functions because they refused
82         to load in mono.  Until this is fixed, a memory leak will occur.
83         Can not retrieve field data from MySQL because the PtrToStructure()
84         needs to be implemented in System.Runtime.InteropServices.Marshal class.
85         However, this will be very complicated to do.  So, we connect to
86         MySQL and execute SQL Commands, but we can not do Queries yet.
87                 
88         * Mono.Data.MySql/Test.cs: modified
89         tweaks to test C# bindings with compiling mcs/mono and
90         running on mint and mono.  Runs on mint, but not mono.
91
92 2002-05-28  Daniel Morgan <danmorg@sc.rr.com>
93
94         * Mono.Data.MySql
95         * Mono.Data.MySql/Mono.Data.MySql: add directories
96         for the Mono.Data.MySql assembly and namespace.  This
97         will contain the MySql .NET Data Provider which will use
98         C# bindings to libMySQL
99         
100         * Mono.Data.MySql/Test.cs: added file to
101         test the C# bindings to MySQL
102         
103         * Mono.Data.MySql/MySql.cs
104         * Mono.Data.MySql/Field.cs: added files
105         for the beginnings of C# bindings to MySQL
106         
107         * Mono.Data.MySql/makefile: added file
108         to build the MySQL C# bindings on csc/Microsoft.NET
109         
110         These C# bindings to the MySQL libMySQL.dll were created by
111         Brad Merrill <zbrad@cybercom.net> 
112         and can be downloaded from
113         http://www.cybercom.net/~zbrad/DotNet/MySql/
114         and put into the Mono Class Library under the X11/MIT License
115         with Brad Merril's permission.
116