1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 06:37:13 +02:00
Commit Graph

41 Commits

Author SHA1 Message Date
53564d6136 Update the MySQL module to comply with the new StackStrF changes. 2018-07-30 01:10:26 +03:00
29a5c79fc8 Implement an a method in the MySQL connection handle to escape strings of unwanted characters. 2018-07-17 20:46:39 +03:00
3a5563820d Fix the .FieldsTable property of the mysql ResultSet type which did not create a table but rather initialize a null object. 2018-07-15 21:32:30 +03:00
bfdb042442 Fix the .String property from the mysql database Field type. 2018-07-15 21:23:12 +03:00
92b2b57121 Add include directory for MySQL on linux. 2018-02-06 02:12:23 +02:00
eb2e567bf8 Initial commit of a command-line build system based on the classic Makefile. Windows only. 2018-02-06 01:31:07 +02:00
0bdb1b9135 Update copyright year to 2018. 2018-01-28 23:13:41 +02:00
7bb44ec008 Make builtin formatted strings default to false to avoid trying to perform a format in cases where it can be folled by a following parameters that are not meant to be part of that formatted string. 2017-06-18 20:25:12 +03:00
30fd6b274b Enable autocommit by default in mysql connections. To avoid further confusions. 2017-06-17 22:08:59 +03:00
e8027dcb3d Release the null lightweight object references as well. 2017-06-16 02:22:48 +03:00
2c60b62671 Update the copyright year. 2017-02-22 18:26:12 +02:00
e445530bbb Implement a new module command that is called right before cosing the virtual machine to allow modules to release resources manually.
Should fix a possible crash in the IRC plugin which was caused by the Session destructor to be called recursively when cleaned automatically by the VM.
2016-09-02 14:11:39 +03:00
0f2ac5679a Add the option to retrieve columns/fields from explicit columns. Should close #26 2016-08-07 02:22:59 +03:00
c9184727f0 Add a simple method to the MySQL statement handle to check the validity of a parameter index. 2016-07-28 01:24:52 +03:00
88feb8c3dc Adjust method name in MySQL result-set to be consistent. 2016-07-28 01:16:52 +03:00
27df4fe282 Add a property to the MySQL result-set to retrieve field wrapper instances for all available fields as a table. 2016-07-28 01:15:39 +03:00
522ae735e1 Add a property to the MySQL result-set to retrieve field wrapper instances for all available fields as an array. 2016-07-28 01:13:55 +03:00
f660e2a155 Add a property to the MySQL result-set to retrieve all available field names as an array. 2016-07-28 01:11:21 +03:00
8ce40ee74c Prevent server crash by accessing row data from MySQL result-set when there is no valid row available. Throw an error instead. Should close #25 2016-07-28 00:41:43 +03:00
3337350b48 Fix wrong name in MySQL field wrapper since the field does not come from a statement but from a result-set. 2016-07-27 22:53:58 +03:00
9de5aa9980 Add alternative methods to execute MySQL queries with formatting support. Should close #27 2016-07-27 22:52:59 +03:00
7dc20fcc0c Improve type conversion in the MySQL module.
Implement field wrappers and field retrieval by name.
Various other fixes and adjustments.
2016-07-19 21:42:41 +03:00
cac237c3cb Update the module registration code to include the virtual machine as a function argument. 2016-07-19 21:13:56 +03:00
9874bbe1dc Fix issue with modules not registering their API. 2016-07-17 03:47:38 +03:00
66d1110733 Rvised the API distribution system to avoid segmentation fault crashes on Linux and make the overal code cleaner.
Moved the constants in IRC module into their own source and implemented a faster method of registering them.
Various other minor changes and adjustments. Some of them in order to comply with the new API distribution system.
2016-07-17 03:24:07 +03:00
5ddb222903 Prevent server callbacks not being bound when compiling on linux. 2016-07-16 21:51:01 +03:00
907df6966f Fix the execute function which could execute an empty query. 2016-07-10 05:30:01 +03:00
d36118272a Minor fix in mysql module when executing update queries. 2016-07-10 05:04:57 +03:00
bba09395d0 More incomplete implementation for the MySQL module. 2016-07-08 00:57:57 +03:00
dde8890941 Prevent common null objects from using dead virtual machines after reloads. 2016-07-03 03:27:18 +03:00
46d8d12c74 Add method to return strings from MySQL result-set. 2016-06-30 15:52:20 +03:00
7836f0ab23 Implement simple result stepping in the MySQL module. 2016-06-29 18:31:10 +03:00
03237f9c15 Partial and untested revision of the MySQL module. 2016-06-28 01:15:31 +03:00
996c078105 Introduce a new module event to be called after the virtual machine was destroyed. Thus, preventing the release of the virtual machine while still in use.
Prevent releasing IRC sessions while they could still be in use.
Few other changes that had to be committed because of the change in the module API.
2016-06-26 16:18:23 +03:00
0d6e80a9d5 More MySQL implementation. 2016-06-05 05:36:33 +03:00
3affe10c35 Initial implementation of the MySQL statement class.
Various other additions and improvements to the MySQL module.
2016-06-05 05:08:59 +03:00
201a6e0016 Empty registration of the MySQL statement and result set. 2016-06-03 22:25:06 +03:00
525148ccd1 Implement the query execution functions on MySQL connection.
Minor adjustments in comments.
2016-06-03 22:17:52 +03:00
2f16d63e2a Remove query queueing mechanism from the MySQL connection handle. 2016-06-03 22:17:01 +03:00
279479cddc Partial untested implementation of the MySQL module. 2016-06-03 21:33:21 +03:00
40a2ba46f5 Various changes to the modules.
Also commited the remaining incomplete modules.
2016-05-22 22:34:27 +03:00