Linden
08766b7075
chore: update dependencies
2024-07-04 11:17:28 +10:00
Linden
75b5e45725
fix(patches/mysql): missing charset patch
2024-06-17 23:40:42 +10:00
Linden
0f385900b4
chore: update dependencies
2024-06-17 16:15:50 +10:00
Linden
a3284373d1
chore(dependencies): set target versions
...
Updating to a more recent version of mysql2 will introduce breaking
changes (execute typecasting). Look at updating again in the future..
2024-05-09 11:54:13 +10:00
Linden
ef7f4156df
chore: update dependencies
...
mysql2 patch no longer includes types, profiling, or connection attributes.
2023-07-11 17:23:56 +10:00
Linden
be8580396c
chore: patch mysql2
2023-03-07 15:44:14 +11:00
Linden
e67557992e
chore: update dependencies & patches
...
Something will probably break.
2023-01-20 16:23:40 +11:00
Linden
8fe63bc88a
chore: update dependencies and patch
2022-09-21 13:57:55 +10:00
Linden
14d9f43991
fix(mysql2/binary_parser): Return BLOB as an array
2022-02-19 09:32:55 +11:00
Jaime Filho
8611cc0762
fix: Add charset to cast binary and json data correctly
2022-02-18 19:12:46 -03:00
dunak-debug
4498dddbac
WIP: Rewrite to TS & Cleanup
2021-12-26 02:21:46 +01:00
Linden
b7a17d9566
refactor(patches): remove redundant code
...
mysql2 calls some code, namely _resolveNamedPlaceholders, that is handled by oxmysql before the query is executed.
Other changes:
Calculate query execution time as part of the Query command.
Check for undefined parameters during placeholder resolution.
2021-12-23 13:29:29 +11:00
Linden
78ce45f1de
refactor(patch/named-placeholders): performance tweaks
...
Little bit of micro-optimisation to increase speed of placeholder resolution by 2x
2021-12-10 11:19:27 +11:00
Linden
bf2d729a39
feat: mysql2 patch-package
2021-12-01 03:46:05 +11:00
Linden
9fc06c2132
refactor(versioncheck): remove module and perform check with Lua
...
Unnecessary dependency with functionality that can be easily handled via PerformHttpRequest.
Since the check references fxmanifest instead, we will no longer maintain the version in package.json.
2021-10-29 08:14:39 +11:00
Linden
00f9d0449c
fix(regex): Prevent converting JSON in queries into placeholders
...
- When a JSON string is entered as part of a query, rather than a parameter, it is assumed to define a named placeholder - this will check for quotations and ignore it
2021-10-18 01:51:37 +11:00
darksaid98
48ee030372
fix: parameter keys beginning with : & @
2021-10-16 16:02:43 +02:00
Linden
bacd9c171d
chore: Point mysql2 dependency to fork
...
I'd like some control over incoming changes to fit our use-case, and patch-package doesn't quite fulfil our needs.
2021-10-16 10:20:35 +11:00
Linden
22de50c081
Apply mysql2 patch
...
- Remove extra _resolveNamedPlaceholders call from query
- Apply several patches by github/testn (pending merge); refer to pull requests #1408 , #1402 , #1401 , #1400
- Optimise query.row call
- Cache lazy-evaluated field
- Optimise string decoding
- Avoid leaking TextRow/BinaryRow
2021-10-16 10:20:35 +11:00
Linden
d0730c5e9b
feat: Add support for nil parameters
...
- Throws an error if no params are defined when using named parameters, otherwise seems okay
2021-10-16 10:20:35 +11:00
1A3
39c485644d
fix: Regex fix for queries with commas ( #31 )
...
Fixes #24
2021-09-24 20:13:01 +02:00
darksaid98
634bbffd46
feat: version check on startup ( #28 )
2021-09-23 20:55:08 +02:00
dunak-debug
4654460e22
fix: Don´t throw error if parameter is zero or false, check for undefined
2021-09-17 20:01:47 +02:00
dunak-debug
fd4fa877ec
fix: Patch named placeholders, throw errors on nil values
2021-09-17 17:19:18 +02:00
dunak-debug
cc74fac733
fix: Parameter parsing, new update export, null parameter warning
...
- fix https://github.com/overextended/oxmysql/issues/14
- fix ? https://github.com/overextended/oxmysql/issues/16
- fix https://github.com/overextended/oxmysql/issues/15
2021-09-17 00:54:13 +02:00
dunak-debug
f6fb7cc017
fix: remove mysql2 patch, format lua parameters
2021-09-12 17:56:36 +02:00
dunak-debug
94bd814186
fix: patch mysql2, named-placeholders
2021-09-12 16:28:02 +02:00