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.0 Sat Jul 28 15:50:52 CEST 2012 |
|
|
4 | - work around some bugs in DBD drivers (SQLite...) instead of |
|
|
5 | crashing. |
|
|
6 | - use SvOKp to decide whether we should upgrade to utf-8. |
|
|
7 | - since DBD::mysql keeps changing their number detection code |
|
|
8 | and therefore keeps corrupting our data, call bind_param |
|
|
9 | with "correctly" deduced types on first first execution |
|
|
10 | of an sql statement. |
|
|
11 | - cache prepare and all statement methods per stash, to avoid |
|
|
12 | having to look up multiple methods per execution. |
|
|
13 | - use a default lru cache size of 100 instead of 50. |
|
|
14 | - switch to FNV-1a hash and actually _do_ hash more than the |
|
|
15 | first character of the sql statement. |
|
|
16 | - check the length of the sql string when deciding whether it is |
|
|
17 | too long for caching, do not use the size of the allocated |
|
|
18 | memory area, which is less useful. |
|
|
19 | - use less mind-boggling but safer method to pass return values to perl. |
|
|
20 | |
|
|
21 | 1.05 Sun Jun 21 07:13:25 CEST 2009 |
|
|
22 | - check statement handles for active state, to avoid using |
|
|
23 | a cached statement handle that is currently active |
|
|
24 | (good for recursive invocations, and threads). |
|
|
25 | - allow cache sizes of 0, do not crash. |
|
|
26 | - reduce max cached statement length from 8k to 4k. |
|
|
27 | |
|
|
28 | 1.04 Sun Jun 21 02:27:46 CEST 2009 |
|
|
29 | - be more Coro/thread friendly by actually making a copy of the |
|
|
30 | database handle inside sql_exec. |
|
|
31 | - use croak for error reporting, not die. |
|
|
32 | |
|
|
33 | 1.03 Sat Jan 19 09:56:26 CET 2008 |
|
|
34 | - work around API changes in perl 5.10. |
|
|
35 | |
|
|
36 | 1.02 Fri Mar 3 15:11:23 CET 2006 |
|
|
37 | - fixed a bug with argument passing to connect_cached in checked_dbh. |
|
|
38 | - sqlite sql_insertid support. |
|
|
39 | - added Changes file. |
|
|
40 | |
|
|
41 | 1.0 Thu Sep 1 10:53:32 CEST 2005 |
|
|
42 | - avoid some cast warnings. |
|
|
43 | - it has been extremely well-tested, so bump to 1.0. |
|
|
44 | |
3 | 0.143 Wed Jan 28 20:03:52 MET 2004 (oesi) |
45 | 0.143 Wed Jan 28 20:03:52 MET 2004 |
4 | - force bind-variables to utf8 before binding (for sql_u*) |
46 | - force bind-variables to utf8 before binding (for sql_u*) |
5 | (Stefan Traby). |
47 | (Stefan Traby). |
6 | |
48 | |
7 | 0.142 Thu Nov 7 02:57:30 CET 2002 |
49 | 0.142 Thu Nov 7 02:57:30 CET 2002 |
8 | - work around what looks like a memory leak inside |
50 | - work around what looks like a memory leak inside |
… | |
… | |
14 | repeated. |
56 | repeated. |
15 | |
57 | |
16 | 0.14 Wed Jun 26 03:42:30 CEST 2002 |
58 | 0.14 Wed Jun 26 03:42:30 CEST 2002 |
17 | - the sql_*fetch* functions now make mortal copies of |
59 | - the sql_*fetch* functions now make mortal copies of |
18 | the values returned by DBI. This is slower but ensures |
60 | the values returned by DBI. This is slower but ensures |
19 | correctness in spire of perl's own optimizations ;) |
61 | correctness in spite of perl's own optimizations ;) |
20 | |
62 | |
21 | 0.131 Wed Apr 10 21:56:56 CEST 2002 |
63 | 0.131 Wed Apr 10 21:56:56 CEST 2002 |
22 | - removed references to using $DBH in the callers package, which |
64 | - removed references to using $DBH in the callers package, which |
23 | doesn't work. |
65 | doesn't work. |
24 | |
66 | |