ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/PApp-SQL/Changes
Revision: 1.27
Committed: Mon Feb 13 06:00:36 2012 UTC (12 years, 3 months ago) by root
Branch: MAIN
Changes since 1.26: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 This is the change log for the perl extension PApp::SQL.
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.
28 - use croak for error reporting, not die.
29
30 1.03 Sat Jan 19 09:56:26 CET 2008
31 - work around API changes in perl 5.10.
32
33 1.02 Fri Mar 3 15:11:23 CET 2006
34 - fixed a bug with argument passing to connect_cached in checked_dbh.
35 - sqlite sql_insertid support.
36 - added Changes file.
37
38 1.0 Thu Sep 1 10:53:32 CEST 2005
39 - avoid some cast warnings.
40 - it has been extremely well-tested, so bump to 1.0.
41
42 0.143 Wed Jan 28 20:03:52 MET 2004
43 - force bind-variables to utf8 before binding (for sql_u*)
44 (Stefan Traby).
45
46 0.142 Thu Nov 7 02:57:30 CET 2002
47 - work around what looks like a memory leak inside
48 DBI when execute is called with tied hashelements.
49
50 0.141 Fri Aug 2 05:29:31 CEST 2002
51 - only "small" (<8k size) statements are cached, larger ones
52 are thrown away on the assumption that these won't likely be
53 repeated.
54
55 0.14 Wed Jun 26 03:42:30 CEST 2002
56 - the sql_*fetch* functions now make mortal copies of
57 the values returned by DBI. This is slower but ensures
58 correctness in spite of perl's own optimizations ;)
59
60 0.131 Wed Apr 10 21:56:56 CEST 2002
61 - removed references to using $DBH in the callers package, which
62 doesn't work.
63
64 0.13 Wed Feb 27 05:29:06 CET 2002
65 - sql_u* functions were not forcing utf8 on their return values.
66
67 0.1241 Mon Dec 31 04:03:37 CET 2001
68 - mysql_client_found_rows set by default on mysql-connects.
69
70 0.124 Sat Aug 11 03:02:45 CEST 2001
71 - new methods sql_uexec, sql_ufetch, sql_ufetchall that force/upgrade
72 to utf8.
73 - added COPYING.
74
75 0.121 Mon Feb 12 16:56:21 CET 2001
76 - set InactiveDestroy for all handles in reinitialize instead
77 of closing them.
78
79 0.12 Mon Feb 5 13:42:20 CET 2001
80 - seperated from the PApp package.
81 - fixes for 5.005 compatibility.
82 - renamed $database to $Database.
83
84 Changes done while this was a part of PApp include:
85
86 0.11 <Unreleased PApp version>
87 - 5.005-ified SQL/SQL.xs.
88
89 0.10 <Unreleased: missing license. Write to marco@toytest.com for complaints>
90 - PApp::SQL now tries to reconnect twice.
91
92 0.08 Sun Jun 18 23:53:50 CEST 2000
93 - fixed memory corruption bug in SQL.xs that happens
94 because mod_perl BOOT:'s the same object twice :(
95 - PApp::Env and PApp::SQL should be more resistent to restarts.
96 - PApp::SQL::*fetch methods call finish on the statement handle,
97 as does sql_exec in void context.
98
99 Even older, prehistoric versions of this module under other names
100 obviously had no Changes file (that's why it's called _pre_historic).
101
102