1 | This is the change log for the perl extension PApp::SQL. |
1 | This is the change log for the perl extension PApp::SQL. |
2 | |
2 | |
|
|
3 | - use SvOKp to decide whether we should upgrade to utf-8. |
|
|
4 | - since DBD::mysql keeps changing their number detection code |
|
|
5 | and therefore keeps corrupting our data, call bind_param |
|
|
6 | with "correctly" deduced types on first first execution |
|
|
7 | of an sql statement. |
|
|
8 | - cache prepare and all statement methods per stash, to avoid |
|
|
9 | having to look up multiple methods per execution. |
|
|
10 | - use a default lru cache size of 100 instead of 50. |
|
|
11 | - switch to FNV-1a hash and actually _do_ hash more than the |
|
|
12 | first character of the sql statement. |
|
|
13 | - check the length of the sql string when deciding whether it is |
|
|
14 | too long for caching, do not use the size of the allocated |
|
|
15 | memory area, which is less useful. |
|
|
16 | - use less mind-boggling but safer method to pass return values to perl. |
|
|
17 | |
|
|
18 | 1.05 Sun Jun 21 07:13:25 CEST 2009 |
|
|
19 | - check statement handles for active state, to avoid using |
|
|
20 | a cached statement handle that is currently active |
|
|
21 | (good for recursive invocations, and threads). |
|
|
22 | - allow cache sizes of 0, do not crash. |
|
|
23 | - reduce max cached statement length from 8k to 4k. |
|
|
24 | |
|
|
25 | 1.04 Sun Jun 21 02:27:46 CEST 2009 |
|
|
26 | - be more Coro/thread friendly by actually making a copy of the |
|
|
27 | database handle inside sql_exec. |
3 | - use croak for error reporting, not die. |
28 | - use croak for error reporting, not die. |
4 | |
29 | |
5 | 1.03 Sat Jan 19 09:56:26 CET 2008 |
30 | 1.03 Sat Jan 19 09:56:26 CET 2008 |
6 | - work around API changes in perl 5.10. |
31 | - work around API changes in perl 5.10. |
7 | |
32 | |