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 | 2.001 Sat Oct 7 17:52:36 CEST 2017 |
|
|
4 | - protip: avoid postgres, it's an inefficient pile of garbage code. |
|
|
5 | - work around DBD::Pg (and only DBD::Pg) unnecessarily modifying |
|
|
6 | the first argument of bind_param, likely due to some misguided |
|
|
7 | implementation of some unneecessary extensions requiring |
|
|
8 | non-standard syntax for bind_param. bleah. |
|
|
9 | - minor av_fetch optimisation. |
|
|
10 | |
|
|
11 | 2.0 Sat Jul 28 15:50:52 CEST 2012 |
|
|
12 | - work around some bugs in DBD drivers (SQLite...) instead of |
|
|
13 | crashing. |
|
|
14 | - use SvOKp to decide whether we should upgrade to utf-8. |
|
|
15 | - since DBD::mysql keeps changing their number detection code |
|
|
16 | and therefore keeps corrupting our data, call bind_param |
|
|
17 | with "correctly" deduced types on first first execution |
|
|
18 | of an sql statement. |
|
|
19 | - cache prepare and all statement methods per stash, to avoid |
|
|
20 | having to look up multiple methods per execution. |
|
|
21 | - use a default lru cache size of 100 instead of 50. |
|
|
22 | - switch to FNV-1a hash and actually _do_ hash more than the |
|
|
23 | first character of the sql statement. |
|
|
24 | - check the length of the sql string when deciding whether it is |
|
|
25 | too long for caching, do not use the size of the allocated |
|
|
26 | memory area, which is less useful. |
|
|
27 | - use less mind-boggling but safer method to pass return values to perl. |
|
|
28 | |
|
|
29 | 1.05 Sun Jun 21 07:13:25 CEST 2009 |
|
|
30 | - check statement handles for active state, to avoid using |
|
|
31 | a cached statement handle that is currently active |
|
|
32 | (good for recursive invocations, and threads). |
|
|
33 | - allow cache sizes of 0, do not crash. |
|
|
34 | - reduce max cached statement length from 8k to 4k. |
|
|
35 | |
|
|
36 | 1.04 Sun Jun 21 02:27:46 CEST 2009 |
|
|
37 | - be more Coro/thread friendly by actually making a copy of the |
|
|
38 | database handle inside sql_exec. |
3 | - use croak for error reporting, not die. |
39 | - use croak for error reporting, not die. |
4 | |
40 | |
5 | 1.03 Sat Jan 19 09:56:26 CET 2008 |
41 | 1.03 Sat Jan 19 09:56:26 CET 2008 |
6 | - work around API changes in perl 5.10. |
42 | - work around API changes in perl 5.10. |
7 | |
43 | |