| 1 |
ChangeSet@1.2540, 2007-11-15 14:59:40+01:00, joerg@mysql.com +1 -0 |
| 2 |
Prevent a sytax error in the top-level "Makefile". |
| 3 |
|
| 4 |
Makefile.am@1.108, 2007-11-15 14:59:36+01:00, joerg@mysql.com +1 -2 |
| 5 |
Prevent a sytax error in the commercial package: |
| 6 |
Removing "debian" would have produced an empty continuation line, |
| 7 |
the autotools cannot deal with that. |
| 8 |
|
| 9 |
ChangeSet@1.2539, 2007-11-15 10:55:47+01:00, joerg@mysql.com +3 -0 |
| 10 |
BUG#32111 - Security Breach via DATA/INDEX DIRECORY and RENAME TABLE |
| 11 |
|
| 12 |
RENAME TABLE against a table with DATA/INDEX DIRECTORY overwrites |
| 13 |
the file to which the symlink points. |
| 14 |
|
| 15 |
This is security issue, because it is possible to create a table with |
| 16 |
some name in some non-system database and set DATA/INDEX DIRECTORY |
| 17 |
to mysql system database. Renaming this table to one of mysql system |
| 18 |
tables (e.g. user, host) would overwrite the system table. |
| 19 |
|
| 20 |
Return an error when the file to which the symlink points exist. |
| 21 |
|
| 22 |
(This is a copy of changeset 2007/11/06 18:09:33+04:00 svoj@mysql.com |
| 23 |
and its merge changesets on the way from 4.0 up to 5.0) |
| 24 |
|
| 25 |
mysql-test/r/symlink.result@1.36, 2007-11-15 10:55:43+01:00, joerg@mysql.com +6 -0 |
| 26 |
A test case for BUG#32111, with after merge fix, and using proper variable. |
| 27 |
|
| 28 |
mysql-test/t/symlink.test@1.27, 2007-11-15 10:55:43+01:00, joerg@mysql.com +12 -0 |
| 29 |
A test case for BUG#32111, with after merge fix, and using proper variable. |
| 30 |
|
| 31 |
mysys/my_symlink2.c@1.11, 2007-11-15 10:55:43+01:00, joerg@mysql.com +10 -1 |
| 32 |
Return an error when the file to which the symlink points exist. |
| 33 |
|
| 34 |
ChangeSet@1.2538, 2007-11-15 10:00:39+01:00, joerg@mysql.com +1 -0 |
| 35 |
Revert a premature version upgrade - this is 5.0.51 still. |
| 36 |
|
| 37 |
configure.in@1.431, 2007-11-15 09:58:38+01:00, joerg@mysql.com +2 -2 |
| 38 |
Revert a premature version upgrade - this is 5.0.51 still. |
| 39 |
|
| 40 |
ChangeSet@1.2521.1.5, 2007-10-10 08:19:01-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 41 |
Bug#27433: Parser error for MySQL 5.0.37 with Bison 1.75 for \ |
| 42 |
sql_yacc.yy |
| 43 |
|
| 44 |
Yacc rules lacked semicolons to terminate rules, which is illegal in |
| 45 |
old versions of bison. |
| 46 |
|
| 47 |
Added semicolons. |
| 48 |
|
| 49 |
sql/sql_yacc.yy@1.535, 2007-10-10 08:19:00-04:00, cmiller@zippy.cornsilk.net +2 -2 |
| 50 |
Add semicolons to terminate rules. |
| 51 |
|
| 52 |
ChangeSet@1.2521.1.4, 2007-10-04 10:35:09-04:00, cmiller@zippy.cornsilk.net +2 -0 |
| 53 |
Track typedef'd struct. Name changed in Enterprise tree, but |
| 54 |
community-exclusive file also referred to struct. |
| 55 |
|
| 56 |
sql/sql_profile.cc@1.12, 2007-10-04 10:35:07-04:00, cmiller@zippy.cornsilk.net +2 -2 |
| 57 |
Track typedef'd struct. |
| 58 |
|
| 59 |
sql/sql_profile.h@1.7, 2007-10-04 10:35:07-04:00, cmiller@zippy.cornsilk.net +2 -2 |
| 60 |
Track typedef'd struct. |
| 61 |
|
| 62 |
ChangeSet@1.2530.2.1, 2007-10-04 11:30:30+02:00, jperkin@production.mysql.com +3 -0 |
| 63 |
Restore creation of test databases and the anonymous user which |
| 64 |
were accidentally removed during a previous rototill of this |
| 65 |
code. Fixes bug#27692. |
| 66 |
|
| 67 |
While it can be argued we should strive to provide a 'secure by |
| 68 |
default' installation, this happens to be the setup currently |
| 69 |
documented in the manual as the default, so defer changes that |
| 70 |
improve security out of the box to a co-ordinated effort later |
| 71 |
on. |
| 72 |
|
| 73 |
For now, make a note about the test databases and anonymous user |
| 74 |
in mysql_install_db and recommend that mysql_secure_installation |
| 75 |
be ran for users wishing to remove these defaults. |
| 76 |
|
| 77 |
[..re-commit of previously lost change..] |
| 78 |
|
| 79 |
mysql-test/mysql-test-run.pl@1.246, 2007-10-04 11:28:01+02:00, jperkin@production.mysql.com +1 -0 |
| 80 |
Add a comment where removing anonymous users. |
| 81 |
|
| 82 |
scripts/mysql_install_db.sh@1.100, 2007-09-24 15:40:38+02:00, jperkin@production.mysql.com +9 -0 |
| 83 |
Point users at the mysql_secure_installation script. |
| 84 |
|
| 85 |
scripts/mysql_system_tables_data.sql@1.4, 2007-09-24 15:36:05+02:00, jperkin@production.mysql.com +2 -0 |
| 86 |
Add anonymous accounts. |
| 87 |
|
| 88 |
ChangeSet@1.2532.1.1, 2007-10-02 21:21:45+02:00, jmiller@mysql.com +1 -0 |
| 89 |
testScanFilter.cpp: |
| 90 |
Updated variable size arrays to use vector like Jonas did for 5.1 so that my build would not break |
| 91 |
|
| 92 |
ndb/test/ndbapi/testScanFilter.cpp@1.5, 2007-10-02 21:21:37+02:00, jmiller@mysql.com +7 -5 |
| 93 |
Updated variable size arrays to use vector like Jonas did for 5.1 so that my build would not break |
| 94 |
|
| 95 |
ChangeSet@1.2530.1.1, 2007-09-27 08:56:06+02:00, df@pippilotta.erinye.com +1 -0 |
| 96 |
avoid using GetTempFileName in a way it's documented to not work on windows |
| 97 |
|
| 98 |
mysys/mf_tempfile.c@1.27, 2007-09-27 08:56:04+02:00, df@pippilotta.erinye.com +14 -0 |
| 99 |
Try to avoid passing null as first parameter to GetTempFileName, since it's documented that it won't work. |
| 100 |
|
| 101 |
ChangeSet@1.2532, 2007-09-26 19:15:42+02:00, dfischer@mysql.com +1 -0 |
| 102 |
Raise version number after cloning 5.0.50 |
| 103 |
|
| 104 |
configure.in@1.416.1.41, 2007-09-26 19:15:33+02:00, dfischer@mysql.com +2 -2 |
| 105 |
Raise version number after cloning 5.0.50 |
| 106 |
|
| 107 |
ChangeSet@1.2463.165.6, 2007-07-03 12:20:19-04:00, cmiller@zippy.cornsilk.net +2 -0 |
| 108 |
In 5.0, Field_double::val_str uses "%g" to render floating point |
| 109 |
numbers, which uses "X.YeZ" notation when the exponent Z would be |
| 110 |
less than -4. That behavior at -4 is not exactly what we want, and |
| 111 |
our Decimal type offers smarter number representation. By changing |
| 112 |
profiling to use Decimal types, we get more readable output. |
| 113 |
TAG: mysql-5.0.45 |
| 114 |
TAG: clone-5.0.45-build |
| 115 |
|
| 116 |
sql/sql_profile.cc@1.11, 2007-07-03 12:20:17-04:00, cmiller@zippy.cornsilk.net +25 -10 |
| 117 |
Change the DOUBLE I_S types to DECIMAL, so we get a smarter |
| 118 |
floating-point number renderer. |
| 119 |
|
| 120 |
sql/sql_show.cc@1.352, 2007-07-03 12:20:17-04:00, cmiller@zippy.cornsilk.net +9 -2 |
| 121 |
Add MYSQL_TYPE_DECIMAL as a string-ish type that INFORMATION_SCHEMA |
| 122 |
tables may use. |
| 123 |
|
| 124 |
ChangeSet@1.2463.165.5, 2007-07-03 11:25:32-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 125 |
Avoid a warning on windows about a missing case enum. |
| 126 |
|
| 127 |
sql/sql_parse.cc@1.602, 2007-07-03 11:25:30-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 128 |
Avoid a warning on windows. |
| 129 |
|
| 130 |
ChangeSet@1.2463.165.4, 2007-07-02 12:29:07-04:00, cmiller@zippy.cornsilk.net +3 -0 |
| 131 |
Merge fix-up. |
| 132 |
|
| 133 |
BitKeeper/deleted/.del-create_manifest.js@1.2, 2007-07-02 10:23:39-04:00, cmiller@zippy.cornsilk.net +0 -0 |
| 134 |
Delete: win/create_manifest.js |
| 135 |
|
| 136 |
BitKeeper/deleted/.del-mysql_manifest.cmake@1.2, 2007-07-02 10:28:17-04:00, cmiller@zippy.cornsilk.net +0 -0 |
| 137 |
Delete: win/mysql_manifest.cmake |
| 138 |
|
| 139 |
mysql-test/r/information_schema.result@1.126, 2007-07-02 12:29:04-04:00, cmiller@zippy.cornsilk.net +7 -7 |
| 140 |
Move the test down. |
| 141 |
|
| 142 |
ChangeSet@1.2425.77.1, 2007-07-02 07:27:39-04:00, cmiller@zippy.cornsilk.net +8 -0 |
| 143 |
Unify profiling SHOW code and INFORMATION_SCHEMA code for |
| 144 |
profiling. Also, |
| 145 |
|
| 146 |
Bug#26938: profiling client hang if used before enabled |
| 147 |
|
| 148 |
In the SHOW command, not sending header data because we had no |
| 149 |
rows to send was a protocol violation. Porting the SHOW PROFILE |
| 150 |
command to use the Information Schema table avoids that problem. |
| 151 |
|
| 152 |
mysql-test/r/profiling.result@1.6, 2007-07-02 07:27:23-04:00, cmiller@zippy.cornsilk.net +4 -0 |
| 153 |
Add headers of pre-profile SHOW test. |
| 154 |
|
| 155 |
mysql-test/t/profiling.test@1.3, 2007-07-02 07:27:23-04:00, cmiller@zippy.cornsilk.net +5 -0 |
| 156 |
Verify that the protocol isn't violated if we ask for profiling |
| 157 |
info before profiling has recorded anything. |
| 158 |
|
| 159 |
sql/sql_parse.cc@1.600, 2007-07-02 07:27:23-04:00, cmiller@zippy.cornsilk.net +9 -17 |
| 160 |
Remove SQLCOM_SHOW_PROFILE and add a I_S schema table entry. |
| 161 |
|
| 162 |
sql/sql_profile.cc@1.10, 2007-07-02 07:27:23-04:00, cmiller@zippy.cornsilk.net +95 -253 |
| 163 |
Add SHOW column-names and a new function that takes profile options |
| 164 |
set in the parser and packs a list of selected fields from the |
| 165 |
I_S table implementation. |
| 166 |
|
| 167 |
sql/sql_profile.h@1.6, 2007-07-02 07:27:23-04:00, cmiller@zippy.cornsilk.net +1 -6 |
| 168 |
Remove unused functions and add a new function. |
| 169 |
|
| 170 |
sql/sql_show.cc@1.345.2.2, 2007-07-02 07:27:24-04:00, cmiller@zippy.cornsilk.net +2 -1 |
| 171 |
Add a pointer to the function that selects fields from I_S table |
| 172 |
for SHOW command. |
| 173 |
|
| 174 |
sql/sql_yacc.yy@1.514.1.2, 2007-07-02 07:27:24-04:00, cmiller@zippy.cornsilk.net +7 -1 |
| 175 |
Prepare an I_S table for SHOW PROFILE. |
| 176 |
|
| 177 |
sql/table.h@1.142, 2007-07-02 07:27:24-04:00, cmiller@zippy.cornsilk.net +1 -1 |
| 178 |
Rename to match the intention. |
| 179 |
|
| 180 |
ChangeSet@1.2425.1.52, 2007-05-07 19:48:11+02:00, df@pippilotta.erinye.com +1 -0 |
| 181 |
raise version number |
| 182 |
|
| 183 |
configure.in@1.427, 2007-05-07 19:48:10+02:00, df@pippilotta.erinye.com +2 -2 |
| 184 |
raise version number |
| 185 |
|
| 186 |
ChangeSet@1.2425.1.51, 2007-05-07 08:25:47+02:00, df@pippilotta.erinye.com +1 -0 |
| 187 |
specfile fixes |
| 188 |
TAG: mysql-5.0.41 |
| 189 |
|
| 190 |
support-files/mysql.spec.sh@1.174, 2007-05-07 08:25:45+02:00, df@pippilotta.erinye.com +19 -14 |
| 191 |
specfile fixes |
| 192 |
|
| 193 |
ChangeSet@1.2425.1.50, 2007-05-04 09:46:33+02:00, df@pippilotta.erinye.com +1 -0 |
| 194 |
backport a manifest fix |
| 195 |
|
| 196 |
CMakeLists.txt@1.7.2.3, 2007-05-04 09:46:31+02:00, df@pippilotta.erinye.com +5 -0 |
| 197 |
backported fix |
| 198 |
|
| 199 |
ChangeSet@1.2425.1.48, 2007-04-30 14:22:38+02:00, dfischer@mysql.com +2 -0 |
| 200 |
create_manifest.js, mysql_manifest.cmake: |
| 201 |
add files for patch |
| 202 |
|
| 203 |
win/create_manifest.js@1.1, 2007-04-30 14:22:13+02:00, dfischer@mysql.com +85 -0 |
| 204 |
add files for patch |
| 205 |
|
| 206 |
win/create_manifest.js@1.0, 2007-04-30 14:22:13+02:00, dfischer@mysql.com +0 -0 |
| 207 |
|
| 208 |
win/mysql_manifest.cmake@1.1, 2007-04-30 14:22:19+02:00, dfischer@mysql.com +20 -0 |
| 209 |
add files for patch |
| 210 |
|
| 211 |
win/mysql_manifest.cmake@1.0, 2007-04-30 14:22:19+02:00, dfischer@mysql.com +0 -0 |
| 212 |
|
| 213 |
ChangeSet@1.2425.1.47, 2007-04-30 13:30:58+02:00, dfischer@mysql.com +1 -0 |
| 214 |
Makefile.am: |
| 215 |
fix typo |
| 216 |
|
| 217 |
win/Makefile.am@1.3.1.2, 2007-04-30 13:30:46+02:00, dfischer@mysql.com +1 -1 |
| 218 |
fix typo |
| 219 |
|
| 220 |
ChangeSet@1.2425.1.46, 2007-04-30 11:41:19+02:00, dfischer@mysql.com +10 -0 |
| 221 |
backport vista manifest patch |
| 222 |
|
| 223 |
CMakeLists.txt@1.7.2.1, 2007-04-30 11:41:04+02:00, dfischer@mysql.com +27 -0 |
| 224 |
backport vista manifest patch |
| 225 |
|
| 226 |
client/CMakeLists.txt@1.5.1.1, 2007-04-30 11:41:04+02:00, dfischer@mysql.com +14 -0 |
| 227 |
backport vista manifest patch |
| 228 |
|
| 229 |
extra/CMakeLists.txt@1.4.1.1, 2007-04-30 11:41:05+02:00, dfischer@mysql.com +7 -0 |
| 230 |
backport vista manifest patch |
| 231 |
|
| 232 |
libmysql/CMakeLists.txt@1.2.1.1, 2007-04-30 11:41:05+02:00, dfischer@mysql.com +5 -0 |
| 233 |
backport vista manifest patch |
| 234 |
|
| 235 |
myisam/CMakeLists.txt@1.2.1.1, 2007-04-30 11:41:05+02:00, dfischer@mysql.com +8 -0 |
| 236 |
backport vista manifest patch |
| 237 |
|
| 238 |
server-tools/instance-manager/CMakeLists.txt@1.2.1.1, 2007-04-30 11:41:05+02:00, dfischer@mysql.com +5 -0 |
| 239 |
backport vista manifest patch |
| 240 |
|
| 241 |
sql/CMakeLists.txt@1.7, 2007-04-30 11:41:08+02:00, dfischer@mysql.com +5 -0 |
| 242 |
backport vista manifest patch |
| 243 |
|
| 244 |
win/Makefile.am@1.3.1.1, 2007-04-30 11:41:08+02:00, dfischer@mysql.com +2 -1 |
| 245 |
backport vista manifest patch |
| 246 |
|
| 247 |
win/README@1.3.1.1, 2007-04-30 11:41:08+02:00, dfischer@mysql.com +2 -0 |
| 248 |
backport vista manifest patch |
| 249 |
|
| 250 |
win/configure.js@1.4.1.1, 2007-04-30 11:41:08+02:00, dfischer@mysql.com +1 -0 |
| 251 |
backport vista manifest patch |
| 252 |
|
| 253 |
ChangeSet@1.2392.105.27, 2007-04-20 14:01:49+02:00, df@pippilotta.erinye.com +1 -0 |
| 254 |
win32 build fix |
| 255 |
|
| 256 |
VC++Files/sql/mysqld.vcproj@1.13, 2007-04-20 14:01:48+02:00, df@pippilotta.erinye.com +3 -75 |
| 257 |
win32 build fix |
| 258 |
|
| 259 |
ChangeSet@1.2392.105.26, 2007-04-16 15:00:16-04:00, cmiller@zippy.cornsilk.net +2 -0 |
| 260 |
Bug#25347: mysqlcheck -A -r doesn't repair table marked as crashed |
| 261 |
|
| 262 |
Additional changes to test: "flush tables" so that Windows releases |
| 263 |
the files. |
| 264 |
|
| 265 |
mysql-test/r/mysqlcheck.result@1.5, 2007-04-16 15:00:13-04:00, cmiller@zippy.cornsilk.net +26 -1 |
| 266 |
Add "flush tables" to get windows to release the files, so that |
| 267 |
we can test truncation properly. |
| 268 |
|
| 269 |
mysql-test/t/mysqlcheck.test@1.6, 2007-04-16 15:00:13-04:00, cmiller@zippy.cornsilk.net +8 -0 |
| 270 |
Add "flush tables" to get windows to release the files, so that |
| 271 |
we can test truncation properly. |
| 272 |
|
| 273 |
ChangeSet@1.2392.105.25, 2007-04-10 16:47:07-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 274 |
Use platform-independent mysqltest language. |
| 275 |
|
| 276 |
mysql-test/t/mysqlcheck.test@1.5, 2007-04-10 16:47:06-04:00, cmiller@zippy.cornsilk.net +3 -2 |
| 277 |
Use platform-independent mysqltest language. |
| 278 |
|
| 279 |
ChangeSet@1.2392.105.24, 2007-04-06 09:15:18-04:00, cmiller@zippy.cornsilk.net +3 -0 |
| 280 |
Changing the state of whether we're recording profiling information |
| 281 |
halfway through a query (as happens in "SET SESSION PROFILING = ...") |
| 282 |
has a few side-effects, the worst of which is a memory leak for |
| 283 |
prepared statements, which poke directly from the parser into the |
| 284 |
profiling code (we don't have the query text when we need it) and |
| 285 |
that overwrites a pointer to heap-allocated memory when the previous |
| 286 |
statement turns on profiling. |
| 287 |
|
| 288 |
Instead, now set a flag when we begin a new statement that tracks |
| 289 |
whether profiling is on _at the start_ of the query. Use that to |
| 290 |
track whether we gather info. |
| 291 |
|
| 292 |
Additionally, use that AND use the state of the profiling variable |
| 293 |
after the end of a query to know whether to store information about |
| 294 |
the query that just finished. |
| 295 |
|
| 296 |
mysql-test/r/profiling.result@1.5, 2007-04-06 09:15:16-04:00, cmiller@zippy.cornsilk.net +126 -127 |
| 297 |
Testing whether profiling is on at the beginning of a query and at |
| 298 |
the end of a query makes "SET SESSION PROFILING = ..." statements |
| 299 |
disappear from the profiling. They were never reliable before. |
| 300 |
|
| 301 |
sql/sql_profile.cc@1.9, 2007-04-06 09:15:16-04:00, cmiller@zippy.cornsilk.net +15 -3 |
| 302 |
Check to see if profiling was enabled at the beginning of this query |
| 303 |
before trying to store query_source. This avoids a memory leak for |
| 304 |
prepared statements, which get here by direct means. |
| 305 |
|
| 306 |
If profiling was toggled in this query, then don't store this query |
| 307 |
profile. |
| 308 |
|
| 309 |
sql/sql_profile.h@1.5, 2007-04-06 09:15:16-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 310 |
Keep track of whether profiling is on. |
| 311 |
|
| 312 |
ChangeSet@1.2392.105.23, 2007-04-04 07:44:12-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 313 |
Backport: |
| 314 |
|
| 315 |
B-g#27427: resolveip fails on hostnames with a leading digit |
| 316 |
|
| 317 |
We need inet_aton for the extra/resolveip tool. Some OSes put this |
| 318 |
in nonstandard libraries. |
| 319 |
|
| 320 |
configure.in@1.425, 2007-04-04 07:44:10-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 321 |
We need inet_aton for the extra/resolveip tool. |
| 322 |
|
| 323 |
ChangeSet@1.2392.105.22, 2007-04-03 19:52:24-04:00, cmiller@zippy.cornsilk.net +2 -0 |
| 324 |
Unreported minor bug: We start numbering query IDs at zero, which |
| 325 |
is a special case in "SHOW PROFILE FOR QUERY n". No one can get |
| 326 |
the zero item (which is always the statement that turns on profiling), |
| 327 |
because zero represents the final item, internally. |
| 328 |
|
| 329 |
Now, order the queries starting at one. |
| 330 |
|
| 331 |
mysql-test/r/profiling.result@1.4, 2007-04-03 19:52:23-04:00, cmiller@zippy.cornsilk.net +127 -127 |
| 332 |
Renumber the query IDs. |
| 333 |
|
| 334 |
sql/sql_profile.cc@1.8, 2007-04-03 19:52:23-04:00, cmiller@zippy.cornsilk.net +2 -2 |
| 335 |
Start the profile_id_counter at 1, to overstep the special-case |
| 336 |
value of zero. |
| 337 |
|
| 338 |
Unrelated, but looks similar: don't use -1 to initialize an unsigned |
| 339 |
integer field. That causes warnings in some environments. |
| 340 |
|
| 341 |
ChangeSet@1.2392.105.21, 2007-04-03 19:50:55-04:00, cmiller@zippy.cornsilk.net +2 -0 |
| 342 |
Backport: |
| 343 |
|
| 344 |
B-g#27501: 5.0 significantly more sys ("kernel") time than 4.1 \ |
| 345 |
due to getrusage() calls |
| 346 |
|
| 347 |
Even if profiling is turned off, the parser makes calls to reset |
| 348 |
the state at the beginning of each query. That would eventually |
| 349 |
instantiate a PROFILE_ENTRY, which does indeed capture resource |
| 350 |
usage. |
| 351 |
|
| 352 |
Instead, now check that profiling is active before progressing |
| 353 |
far into the storage/expiration of old entries in the history. |
| 354 |
This has the pleasant side-effect that queries to toggle profiling |
| 355 |
are not recorded in the history. |
| 356 |
|
| 357 |
mysql-test/r/profiling.result@1.3, 2007-04-03 19:50:53-04:00, cmiller@zippy.cornsilk.net +1 -1 |
| 358 |
Now after we turn off profiling, the beginning of the next query |
| 359 |
refuses to enter the profiling code and it discards the info. |
| 360 |
|
| 361 |
sql/sql_profile.cc@1.7, 2007-04-03 19:50:53-04:00, cmiller@zippy.cornsilk.net +11 -0 |
| 362 |
Add the same condition twice: Once to abort storing previous |
| 363 |
query information and the other to abort initialization for this |
| 364 |
query that is starting. |
| 365 |
|
| 366 |
We do this symmetrically, before and after expiring old history |
| 367 |
entries, so that the counts are correct. |
| 368 |
|
| 369 |
ChangeSet@1.2392.105.20, 2007-04-03 19:47:19-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 370 |
Backport: |
| 371 |
|
| 372 |
B-g#26600: table PROFILING in INFORMATION SCHEMA has wrong data type |
| 373 |
|
| 374 |
B-g#27047[partial]: INFORMATION_SCHEMA table cannot have BIGINT \ |
| 375 |
fields |
| 376 |
|
| 377 |
No Information_schema table has ever needed floating-point data |
| 378 |
before. Transforming all floating point to a string and back to a |
| 379 |
number causes a real data problem on Windows, where the libc may |
| 380 |
pad the exponent with more leading zeroes than we expect and the |
| 381 |
significant digits are truncated away. |
| 382 |
|
| 383 |
This also makes interpreting an unimplemented type as a string into |
| 384 |
a fatal error in debug builds. Thus, we will catch problems when we |
| 385 |
try to use those types in new I_S tables. |
| 386 |
|
| 387 |
sql/sql_show.cc@1.341.2.2, 2007-04-03 19:47:17-04:00, cmiller@zippy.cornsilk.net +9 -0 |
| 388 |
Add floating-point types to Information_schema output. |
| 389 |
|
| 390 |
ChangeSet@1.2392.105.19, 2007-04-03 19:45:28-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 391 |
Backport: |
| 392 |
|
| 393 |
B-g#27060: SQL Profile utility may not be reporting right duration \ |
| 394 |
for each step |
| 395 |
|
| 396 |
Whenever the profiler is reset at the beginning of a query, there's |
| 397 |
a "hidden" profiling entry that represents that point in time. It |
| 398 |
has no status description, as those are set by state changes and no |
| 399 |
such point has yet been encountered. That profiling entry is not |
| 400 |
in the list of entries generated when we change states. |
| 401 |
|
| 402 |
The profiling code had the problem that each step of printing |
| 403 |
profiling data subtracted the previous "step"'s data, but gave the |
| 404 |
label to that data of the current step, which is wrong. The label/ |
| 405 |
state refers to the period beginning with that profiling data, not |
| 406 |
ending with it. |
| 407 |
|
| 408 |
Now, give a label to the first profiling pseudo-entry, so that we |
| 409 |
have a name to assign to the period that ends with the first state |
| 410 |
change. Now also use the state name of the previous step in showing |
| 411 |
the delta values that end with this step. |
| 412 |
|
| 413 |
sql/sql_profile.cc@1.6, 2007-04-03 19:45:26-04:00, cmiller@zippy.cornsilk.net +61 -46 |
| 414 |
Store a status of "initializing" whenever we construct the first |
| 415 |
profile entry -- the one that gets reset whenever we're starting |
| 416 |
a new query, before the server sets a real status. |
| 417 |
|
| 418 |
Additionally, associate the previous status with the time period |
| 419 |
that ends with the current profile entry's stats. |
| 420 |
|
| 421 |
Since we need yet another piece of info from the previous profiling |
| 422 |
entry, take out the piecemeal ways we currently do it and make a |
| 423 |
general pointer to the whole thing. |
| 424 |
|
| 425 |
ChangeSet@1.2392.105.18, 2007-04-03 18:12:31-04:00, cmiller@zippy.cornsilk.net +3 -0 |
| 426 |
Backport: |
| 427 |
|
| 428 |
Patch contributed by Jocelyn Fournier. CLA received 2007-02-27. |
| 429 |
|
| 430 |
B-g#25347: mysqlcheck -A -r doesn't repair table marked as crashed |
| 431 |
|
| 432 |
mysqlcheck tests nullness of the engine type to know whether the |
| 433 |
"table" is a view or not. That also falsely catches tables that |
| 434 |
are severly damaged. |
| 435 |
|
| 436 |
Instead, use SHOW FULL TABLES to test whether a "table" is a view |
| 437 |
or not. |
| 438 |
|
| 439 |
(Don't add new function. Instead, get original data a smarter way.) |
| 440 |
|
| 441 |
Make it safe for use against databases before when views appeared. |
| 442 |
|
| 443 |
client/mysqlcheck.c@1.59, 2007-04-03 18:12:29-04:00, cmiller@zippy.cornsilk.net +15 -12 |
| 444 |
Use SHOW FULL TABLES to test better whether a name in the table |
| 445 |
list is one of a view. Checking that the engine is NULL is |
| 446 |
insufficient. |
| 447 |
|
| 448 |
Implemented suggestion from jimw that involved removing most of |
| 449 |
original patch and getting data a better way |
| 450 |
|
| 451 |
mysql-test/r/mysqlcheck.result@1.4, 2007-04-03 18:12:29-04:00, cmiller@zippy.cornsilk.net +10 -0 |
| 452 |
Verify that tables that have NULL/unreadable engine types are |
| 453 |
processed and not interpreted as views. |
| 454 |
|
| 455 |
mysql-test/t/mysqlcheck.test@1.4, 2007-04-03 18:12:29-04:00, cmiller@zippy.cornsilk.net +16 -0 |
| 456 |
Verify that tables that have NULL/unreadable engine types are |
| 457 |
processed and not interpreted as views. |
| 458 |
|
| 459 |
ChangeSet@1.2392.105.17, 2007-04-03 17:59:52-04:00, cmiller@zippy.cornsilk.net +2 -0 |
| 460 |
Backport: |
| 461 |
|
| 462 |
B-g#24795: SHOW PROFILE implementation |
| 463 |
|
| 464 |
Don't use memory roots to store profiling information, because |
| 465 |
memory roots make freeing the data a no-op, and thus long-running |
| 466 |
processes with profiling turned on the whole time could eventually |
| 467 |
use all available memory. |
| 468 |
|
| 469 |
Instead, use regular heap allocation and deallocation calls to |
| 470 |
manage profiling data. Replace the leaky List usage with a similar- |
| 471 |
behaving structure named "Queue". |
| 472 |
|
| 473 |
sql/sql_profile.cc@1.5, 2007-04-03 17:59:50-04:00, cmiller@zippy.cornsilk.net +39 -72 |
| 474 |
Don't use C++ iterators on our simple Queue implementation. They're |
| 475 |
not implemented and we don't really need them. |
| 476 |
|
| 477 |
Rip out idea of swapping out the thd's mem_root. |
| 478 |
|
| 479 |
sql/sql_profile.h@1.4, 2007-04-03 17:59:50-04:00, cmiller@zippy.cornsilk.net +108 -3 |
| 480 |
Rip out idea of needing a mem_root. |
| 481 |
|
| 482 |
Implement a Queue that looks and behaves very similarly to memroot- |
| 483 |
using List. |
| 484 |
|
| 485 |
ChangeSet@1.2392.105.16, 2007-04-03 14:08:09-04:00, cmiller@zippy.cornsilk.net +3 -0 |
| 486 |
Backport of Igor's patch for Bug#27362, March 22 2007. |
| 487 |
|
| 488 |
Fixed bug #27362: crash at evaluation of IN predicate when one |
| 489 |
of its argument happened to be a decimal expression returning |
| 490 |
the NULL value. |
| 491 |
The crash was due to the fact the function in_decimal::set did |
| 492 |
not take into account that val_decimal() could return 0 if |
| 493 |
the decimal expression had been evaluated to NULL. |
| 494 |
|
| 495 |
mysql-test/r/func_in.result@1.33.1.1, 2007-04-03 14:08:07-04:00, cmiller@zippy.cornsilk.net +5 -0 |
| 496 |
Added a test case for bug #27362. |
| 497 |
|
| 498 |
mysql-test/t/func_in.test@1.27.1.1, 2007-04-03 14:08:07-04:00, cmiller@zippy.cornsilk.net +11 -0 |
| 499 |
Added a test case for bug #27362. |
| 500 |
|
| 501 |
sql/item_cmpfunc.cc@1.240.1.2, 2007-04-03 14:08:07-04:00, cmiller@zippy.cornsilk.net +2 -1 |
| 502 |
Fixed bug #27362: crash at evaluation of IN predicate when one |
| 503 |
of its argument happened to be a decimal expression returning |
| 504 |
the NULL value. |
| 505 |
The crash was due to the fact the function in_decimal::set did |
| 506 |
not take into account that val_decimal() could return 0 if |
| 507 |
the decimal expression had been evaluated to NULL. |
| 508 |
|
| 509 |
ChangeSet@1.2392.105.15, 2007-04-03 14:05:00-04:00, cmiller@zippy.cornsilk.net +2 -0 |
| 510 |
The test suite erroneously removes backslashes. |
| 511 |
|
| 512 |
mysql-test/r/profiling.result@1.2, 2007-04-03 14:04:58-04:00, cmiller@zippy.cornsilk.net +1 -1 |
| 513 |
The test suite erroneously removes backslashes. |
| 514 |
|
| 515 |
mysql-test/t/profiling.test@1.2, 2007-04-03 14:04:58-04:00, cmiller@zippy.cornsilk.net +1 -1 |
| 516 |
The test suite erroneously removes backslashes. |
| 517 |
|
| 518 |
ChangeSet@1.2392.105.14, 2007-04-03 13:26:19-04:00, cmiller@zippy.cornsilk.net +1 -0 |
| 519 |
Listing all columns of a particular type tells us nothing at all. |
| 520 |
The test fails, and it shouldn't. |
| 521 |
|
| 522 |
mysql-test/r/information_schema.result@1.123, 2007-04-03 13:26:17-04:00, cmiller@zippy.cornsilk.net +1 -1 |
| 523 |
The query to generate this list is pretty bogus in any case. Listing |
| 524 |
all columns of a particular type tells us nothing at all. |
| 525 |
|
| 526 |
ChangeSet@1.2392.72.1, 2007-03-07 20:25:57+01:00, df@pippilotta.erinye.com +1 -0 |
| 527 |
adjust version string in mysql-5.0-community commit trigger |
| 528 |
|
| 529 |
BitKeeper/triggers/post-commit@1.42, 2007-03-07 20:25:55+01:00, df@pippilotta.erinye.com +1 -1 |
| 530 |
adjust version string in trigger |
| 531 |
|
| 532 |
ChangeSet@1.2392.40.7, 2007-03-05 16:10:42+01:00, df@pippilotta.erinye.com +1 -0 |
| 533 |
add ad |
| 534 |
TAG: mysql-5.0.37 |
| 535 |
|
| 536 |
support-files/mysql.spec.sh@1.165.1.1, 2007-03-05 16:10:41+01:00, df@pippilotta.erinye.com +5 -0 |
| 537 |
add ad at %post |
| 538 |
|
| 539 |
ChangeSet@1.2392.60.1, 2007-03-02 09:14:33-05:00, cmiller@zippy.cornsilk.net +2 -0 |
| 540 |
Patch to release clone. Fixes two post-pushbuild discovered failures. |
| 541 |
|
| 542 |
Expand float size to avoid assert()ion failures. |
| 543 |
|
| 544 |
"_db_func_" isn't a known linked object on some platforms, possibly |
| 545 |
because it is occasionaly shadowed by DBUG variables. Avoid that |
| 546 |
confusion. |
| 547 |
|
| 548 |
sql/sql_profile.cc@1.4, 2007-03-02 09:14:31-05:00, cmiller@zippy.cornsilk.net +2 -2 |
| 549 |
Expand float size to avoid assert()ion failures. |
| 550 |
|
| 551 |
"_db_func_" isn't a known linked object on some platforms, possibly |
| 552 |
because it is occasionaly shadowed by DBUG variables. Avoid that |
| 553 |
confusion. |
| 554 |
|
| 555 |
sql/sql_profile.h@1.3, 2007-03-02 09:14:31-05:00, cmiller@zippy.cornsilk.net +6 -6 |
| 556 |
"_db_func_" isn't a known linked object on some platforms, possibly |
| 557 |
because it is occasionaly shadowed by DBUG variables. Avoid that |
| 558 |
confusion. |
| 559 |
|
| 560 |
ChangeSet@1.2392.40.5, 2007-03-01 21:56:51+01:00, df@pippilotta.erinye.com +1 -0 |
| 561 |
add missing file to vs project |
| 562 |
|
| 563 |
VC++Files/sql/mysqld.vcproj@1.11, 2007-03-01 21:56:50+01:00, df@pippilotta.erinye.com +75 -0 |
| 564 |
add sql_profile.cpp to mysqld project |
| 565 |
|
| 566 |
ChangeSet@1.2392.40.4, 2007-03-01 10:45:55+01:00, dfischer@mysql.com +1 -0 |
| 567 |
File.cpp: |
| 568 |
fileno is a macro on some platforms |
| 569 |
|
| 570 |
ndb/src/common/util/File.cpp@1.13.1.4, 2007-03-01 10:45:41+01:00, dfischer@mysql.com +1 -1 |
| 571 |
fileno is a macro on some platforms |
| 572 |
|
| 573 |
ChangeSet@1.2392.40.3, 2007-03-01 09:38:09+01:00, dfischer@mysql.com +1 -0 |
| 574 |
mysqld.cc: |
| 575 |
fix profiling_history_size type |
| 576 |
|
| 577 |
sql/mysqld.cc@1.582.20.2, 2007-03-01 09:37:10+01:00, dfischer@mysql.com +1 -1 |
| 578 |
fix profiling_history_size type |
| 579 |
|
| 580 |
ChangeSet@1.2392.40.2, 2007-02-27 20:04:58-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 581 |
Update to I_S result that now contains PROFILING entry. |
| 582 |
TAG: clone-5.0.37-build |
| 583 |
|
| 584 |
mysql-test/r/information_schema.result@1.122, 2007-02-27 20:04:57-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 585 |
Update to I_S result that now contains PROFILING entry. |
| 586 |
|
| 587 |
ChangeSet@1.2341.59.11, 2007-02-27 11:30:03-05:00, cmiller@calliope.local.cmiller +1 -0 |
| 588 |
Updated column names of I_S table to conform to other I_S uppercase scheme. |
| 589 |
|
| 590 |
mysql-test/r/information_schema.result@1.120, 2007-02-27 11:28:40-05:00, cmiller@calliope.local.cmiller +2 -2 |
| 591 |
Updated column names of I_S table to conform to other I_S uppercase scheme. |
| 592 |
|
| 593 |
ChangeSet@1.2341.59.10, 2007-02-26 13:11:36-05:00, cmiller@calliope.local.cmiller +7 -0 |
| 594 |
Some changes suggested Serg, from message <20070223210659.GA24202@janus.mylan> |
| 595 |
|
| 596 |
configure.in@1.422, 2007-02-26 13:11:22-05:00, cmiller@calliope.local.cmiller +1 -1 |
| 597 |
Use smarter autoconf help macro. |
| 598 |
|
| 599 |
sql/set_var.cc@1.173.2.4, 2007-02-26 13:11:23-05:00, cmiller@calliope.local.cmiller +1 -1 |
| 600 |
Make a local variable static. |
| 601 |
|
| 602 |
sql/sql_lex.cc@1.206.1.6, 2007-02-26 13:11:23-05:00, cmiller@calliope.local.cmiller +0 -2 |
| 603 |
Don't include CPP condition where it saves little time and decreases legibility. |
| 604 |
|
| 605 |
sql/sql_parse.cc@1.596, 2007-02-26 13:11:24-05:00, cmiller@calliope.local.cmiller +2 -2 |
| 606 |
Use the name of the query in the error, instead of describing the feature. |
| 607 |
|
| 608 |
sql/sql_profile.cc@1.3, 2007-02-26 13:11:25-05:00, cmiller@calliope.local.cmiller +38 -52 |
| 609 |
Update copyright. |
| 610 |
|
| 611 |
Make I_S schema table columns uppercase. |
| 612 |
|
| 613 |
sql/sql_profile.h@1.2, 2007-02-26 13:11:26-05:00, cmiller@calliope.local.cmiller +1 -2 |
| 614 |
Update copyright. |
| 615 |
|
| 616 |
sql/sql_select.cc@1.478.2.3, 2007-02-26 13:11:26-05:00, cmiller@calliope.local.cmiller +2 -2 |
| 617 |
Chagne tab indentation to spaces. |
| 618 |
|
| 619 |
ChangeSet@1.2341.59.9, 2007-02-22 16:25:47-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 620 |
Disambiguate method call. (Windows compiler error.) |
| 621 |
|
| 622 |
sql/sql_profile.cc@1.2, 2007-02-22 16:25:45-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 623 |
Disambiguate method call. (Windows compiler error.) |
| 624 |
|
| 625 |
ChangeSet@1.2341.59.8, 2007-02-22 13:17:02-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 626 |
Use correct filename for profiling code. |
| 627 |
|
| 628 |
sql/CMakeLists.txt@1.6, 2007-02-22 13:17:01-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 629 |
Use correct filename for profiling code. |
| 630 |
|
| 631 |
ChangeSet@1.2341.59.7, 2007-02-22 12:27:15-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 632 |
Add profiling source file to cmake file. |
| 633 |
|
| 634 |
sql/CMakeLists.txt@1.5, 2007-02-22 12:27:14-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 635 |
Add profiling source file to cmake file. |
| 636 |
|
| 637 |
ChangeSet@1.2341.59.6, 2007-02-22 11:48:56-05:00, cmiller@zippy.cornsilk.net +3 -0 |
| 638 |
Enclose profiling in preprocessor conditions. |
| 639 |
|
| 640 |
BitKeeper/etc/collapsed@1.18.1.4, 2007-02-22 11:44:51-05:00, cmiller@zippy.cornsilk.net +2 -0 |
| 641 |
|
| 642 |
include/config-win.h@1.81.1.2, 2007-02-22 11:48:55-05:00, cmiller@zippy.cornsilk.net +3 -0 |
| 643 |
Make profiling compiled-in by default on Windows too. |
| 644 |
|
| 645 |
sql/sql_prepare.cc@1.187.5.2, 2007-02-22 11:48:55-05:00, cmiller@zippy.cornsilk.net +2 -0 |
| 646 |
Enclose profiling in preprocessor conditions. |
| 647 |
|
| 648 |
ChangeSet@1.2341.59.5, 2007-02-22 10:03:08-05:00, cmiller@zippy.cornsilk.net +51 -0 |
| 649 |
Prevent bugs by making DBUG_* expressions syntactically equivalent |
| 650 |
to a single statement. |
| 651 |
--- |
| 652 |
Bug#24795: SHOW PROFILE |
| 653 |
|
| 654 |
Profiling is only partially functional on some architectures. Where |
| 655 |
there is no getrusage() system call, presently Null values are |
| 656 |
returned where it would be required. Notably, Windows needs some love |
| 657 |
applied to make it as useful. |
| 658 |
|
| 659 |
Syntax this adds: |
| 660 |
|
| 661 |
SHOW PROFILES |
| 662 |
|
| 663 |
SHOW PROFILE [types] [FOR QUERY n] [OFFSET n] [LIMIT n] |
| 664 |
where "n" is an integer |
| 665 |
and "types" is zero or many (comma-separated) of |
| 666 |
"CPU" |
| 667 |
"MEMORY" (not presently supported) |
| 668 |
"BLOCK IO" |
| 669 |
"CONTEXT SWITCHES" |
| 670 |
"PAGE FAULTS" |
| 671 |
"IPC" |
| 672 |
"SWAPS" |
| 673 |
"SOURCE" |
| 674 |
"ALL" |
| 675 |
|
| 676 |
It also adds a session variable (boolean) "profiling", set to "no" |
| 677 |
by default, and (integer) profiling_history_size, set to 15 by |
| 678 |
default. |
| 679 |
|
| 680 |
This patch abstracts setting THDs' "proc_info" behind a macro that |
| 681 |
can be used as a hook into the profiling code when profiling |
| 682 |
support is compiled in. All future code in this line should use |
| 683 |
that mechanism for setting thd->proc_info. |
| 684 |
|
| 685 |
--- |
| 686 |
|
| 687 |
Tests are now set to omit the statistics. |
| 688 |
|
| 689 |
--- |
| 690 |
|
| 691 |
Adds an Information_schema table, "profiling" for access to |
| 692 |
"show profile" data. |
| 693 |
--- |
| 694 |
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-community-3--bug24795 |
| 695 |
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-community |
| 696 |
--- |
| 697 |
Fix merge problems. |
| 698 |
--- |
| 699 |
Fixed one bug in the query_source being NULL. |
| 700 |
|
| 701 |
Updated test results. |
| 702 |
--- |
| 703 |
Include more thorough profiling tests. |
| 704 |
|
| 705 |
Improve support for prepared statements. |
| 706 |
|
| 707 |
Use session-specific query IDs, starting at zero. |
| 708 |
--- |
| 709 |
Selecting from I_S.profiling is no longer quashed in profiling, as |
| 710 |
requested by Giuseppe. |
| 711 |
|
| 712 |
Limit the size of captured query text. |
| 713 |
|
| 714 |
No longer log queries that are zero length. |
| 715 |
|
| 716 |
BitKeeper/deleted/.del-profile.result@1.2, 2007-02-22 10:02:24-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 717 |
Rename: mysql-test/r/profile.result -> BitKeeper/deleted/.del-profile.result |
| 718 |
|
| 719 |
BitKeeper/deleted/.del-profile.test@1.2, 2007-02-22 10:02:24-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 720 |
Rename: mysql-test/t/profile.test -> BitKeeper/deleted/.del-profile.test |
| 721 |
|
| 722 |
BitKeeper/deleted/.del-profiling-master.opt@1.1, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 723 |
New BitKeeper file ``mysql-test/t/profiling-master.opt'' |
| 724 |
|
| 725 |
BitKeeper/deleted/.del-profiling-master.opt@1.0, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 726 |
|
| 727 |
BitKeeper/deleted/.del-sql_profile.cc@1.2, 2007-02-22 10:02:25-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 728 |
Rename: sql/sql_profile.cc -> BitKeeper/deleted/.del-sql_profile.cc |
| 729 |
|
| 730 |
BitKeeper/deleted/.del-sql_profile.h@1.2, 2007-02-22 10:02:26-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 731 |
Rename: sql/sql_profile.h -> BitKeeper/deleted/.del-sql_profile.h |
| 732 |
|
| 733 |
BitKeeper/etc/collapsed@1.18.1.3, 2007-02-22 10:02:26-05:00, cmiller@zippy.cornsilk.net +9 -0 |
| 734 |
|
| 735 |
configure.in@1.421, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +14 -0 |
| 736 |
Add a configure-time option to enable/disable query profiling. The |
| 737 |
default is enabled. |
| 738 |
|
| 739 |
include/my_dbug.h@1.22, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +6 -6 |
| 740 |
|
| 741 |
|
| 742 |
DBUG_* statements should be syntactically equivalent to a single |
| 743 |
statement. |
| 744 |
|
| 745 |
myisam/mi_open.c@1.100.2.2, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 746 |
DBUG_* statements should be syntactically equivalent to a single |
| 747 |
statement. |
| 748 |
|
| 749 |
mysql-test/r/information_schema.result@1.119, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +7 -4 |
| 750 |
Updated (re-recorded) tests that I missed somehow. I verified these |
| 751 |
for correctness. |
| 752 |
|
| 753 |
mysql-test/r/information_schema_db.result@1.10, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 754 |
Updated test results I missed. |
| 755 |
|
| 756 |
mysql-test/r/mysqlshow.result@1.5, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +2 -0 |
| 757 |
Fix merge problems. |
| 758 |
|
| 759 |
mysql-test/r/profiling.result@1.1, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +365 -0 |
| 760 |
New BitKeeper file ``mysql-test/r/profiling.result'' |
| 761 |
--- |
| 762 |
Include more verbose that describes the queries so far. |
| 763 |
|
| 764 |
Include Giuseppe's tests. |
| 765 |
--- |
| 766 |
Selecting from I_S.profiling is no longer quashed in profiling, as |
| 767 |
requested by Giuseppe. |
| 768 |
|
| 769 |
mysql-test/r/profiling.result@1.0, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 770 |
|
| 771 |
mysql-test/t/profiling.test@1.1, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +195 -0 |
| 772 |
New BitKeeper file ``mysql-test/t/profiling.test'' |
| 773 |
--- |
| 774 |
Include more verbose that describes the queries so far. |
| 775 |
|
| 776 |
Include Giuseppe's tests. |
| 777 |
--- |
| 778 |
Selecting from I_S.profiling is no longer quashed in profiling, as |
| 779 |
requested by Giuseppe. |
| 780 |
|
| 781 |
mysql-test/t/profiling.test@1.0, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 782 |
|
| 783 |
ndb/src/ndbapi/DictCache.cpp@1.21, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 784 |
DBUG_* statements should be syntactically equivalent to a single |
| 785 |
statement. |
| 786 |
|
| 787 |
sql/ha_archive.cc@1.78.1.3, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +2 -2 |
| 788 |
Abstract setting thread-info into a function or macro. |
| 789 |
--- |
| 790 |
Manual merge, undoing first patch. |
| 791 |
|
| 792 |
sql/ha_berkeley.cc@1.165.1.1, 2007-02-22 10:03:02-05:00, cmiller@zippy.cornsilk.net +2 -2 |
| 793 |
Include patch backported to 5.0-global. |
| 794 |
|
| 795 |
THD::options is a ulonglong, not ulong. |
| 796 |
|
| 797 |
sql/ha_myisam.cc@1.170.1.4, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +12 -12 |
| 798 |
Abstract setting thread-info into a function or macro. |
| 799 |
--- |
| 800 |
Manual merge, undoing first patch. |
| 801 |
|
| 802 |
sql/ha_myisammrg.cc@1.85.2.1, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 803 |
DBUG_* statements should be syntactically equivalent to a single |
| 804 |
statement. |
| 805 |
|
| 806 |
sql/ha_ndbcluster.cc@1.291.7.1, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +2 -2 |
| 807 |
DBUG_* statements should be syntactically equivalent to a single |
| 808 |
statement. |
| 809 |
|
| 810 |
sql/item_cmpfunc.cc@1.228.6.1, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 811 |
DBUG_* statements should be syntactically equivalent to a single |
| 812 |
statement. |
| 813 |
|
| 814 |
sql/item_func.cc@1.317.1.7, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +4 -4 |
| 815 |
Abstract setting thread-info into a function or macro. |
| 816 |
--- |
| 817 |
Manual merge, undoing first patch. |
| 818 |
|
| 819 |
sql/lock.cc@1.90.1.4, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +4 -4 |
| 820 |
Abstract setting thread-info into a function or macro. |
| 821 |
--- |
| 822 |
Manual merge, undoing first patch. |
| 823 |
|
| 824 |
sql/log_event.cc@1.214.3.3, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +4 -4 |
| 825 |
Abstract setting thread-info into a function or macro. |
| 826 |
--- |
| 827 |
Manual merge, undoing first patch. |
| 828 |
|
| 829 |
sql/mysql_priv.h@1.425.2.5, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +40 -33 |
| 830 |
Use 64-bit constants for the 64-bit bit field. |
| 831 |
|
| 832 |
Add a new option bit for whether profiling is active or not. |
| 833 |
|
| 834 |
sql/mysqld.cc@1.582.9.2, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +8 -1 |
| 835 |
Add semicolon to DBUG statement. |
| 836 |
|
| 837 |
Add a new system variable and set it. |
| 838 |
--- |
| 839 |
Set the minimum, which is zero and not 50. |
| 840 |
|
| 841 |
sql/repl_failsafe.cc@1.61.1.4, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +5 -5 |
| 842 |
Abstract setting thread-info into a function or macro. |
| 843 |
--- |
| 844 |
Manual merge, undoing first patch. |
| 845 |
|
| 846 |
sql/set_var.cc@1.173.2.3, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +16 -2 |
| 847 |
Make a new system global variable and session variable, to determine |
| 848 |
behavior of profiling. |
| 849 |
--- |
| 850 |
Include patch backported to 5.0-global. |
| 851 |
|
| 852 |
THD::options is a ulonglong, not ulong. |
| 853 |
|
| 854 |
sql/set_var.h@1.78.3.1, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +2 -2 |
| 855 |
The THD::options bit field is ulonglong, not ulong. |
| 856 |
|
| 857 |
sql/slave.cc@1.286.1.3, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +20 -20 |
| 858 |
Abstract setting thread-info into a function or macro. |
| 859 |
--- |
| 860 |
Manual merge, undoing first patch. |
| 861 |
--- |
| 862 |
Include patch backported to 5.0-global. |
| 863 |
|
| 864 |
THD::options is a ulonglong, not ulong. |
| 865 |
|
| 866 |
sql/sp_head.cc@1.225.3.4, 2007-02-22 10:03:03-05:00, cmiller@zippy.cornsilk.net +2 -2 |
| 867 |
Abstract setting thread-info into a function or macro. |
| 868 |
--- |
| 869 |
Manual merge, undoing first patch. |
| 870 |
|
| 871 |
sql/sql_base.cc@1.363, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +15 -15 |
| 872 |
Abstract setting thread-info into a function or macro. |
| 873 |
--- |
| 874 |
Manual merge, undoing first patch. |
| 875 |
--- |
| 876 |
Include patch backported to 5.0-global. |
| 877 |
|
| 878 |
THD::options is a ulonglong, not ulong. |
| 879 |
|
| 880 |
sql/sql_cache.cc@1.99, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +11 -11 |
| 881 |
DBUG_* statements should be syntactically equivalent to a single |
| 882 |
statement. |
| 883 |
--- |
| 884 |
Fix merge problems. |
| 885 |
|
| 886 |
sql/sql_class.cc@1.258, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +2 -1 |
| 887 |
Insert a pointer to the current thread in the profiling code. |
| 888 |
--- |
| 889 |
Manual merge, undoing first patch. |
| 890 |
--- |
| 891 |
Fix merge problems. |
| 892 |
|
| 893 |
sql/sql_class.h@1.316, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +6 -1 |
| 894 |
Create a new system variable, profiling_history_size, and add a |
| 895 |
member to THD to hold profiling information about this thread's |
| 896 |
execution. |
| 897 |
--- |
| 898 |
Manual merge, undoing first patch. |
| 899 |
|
| 900 |
sql/sql_delete.cc@1.190, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +7 -7 |
| 901 |
Abstract setting thread-info into a function or macro. |
| 902 |
--- |
| 903 |
Manual merge, undoing first patch. |
| 904 |
--- |
| 905 |
Include patch backported to 5.0-global. |
| 906 |
|
| 907 |
THD::options is a ulonglong, not ulong. |
| 908 |
|
| 909 |
sql/sql_insert.cc@1.213, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +19 -19 |
| 910 |
Abstract setting thread-info into a function or macro. |
| 911 |
--- |
| 912 |
Manual merge, undoing first patch. |
| 913 |
--- |
| 914 |
Fix merge problems. |
| 915 |
|
| 916 |
sql/sql_lex.cc@1.206.1.5, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +2 -1 |
| 917 |
Initialize profiling options to empty. |
| 918 |
--- |
| 919 |
Manual merge, undoing first patch. |
| 920 |
|
| 921 |
sql/sql_lex.h@1.233.1.5, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +7 -2 |
| 922 |
Add info to the lexer object so that we can hold data that comes from |
| 923 |
parsing statements. |
| 924 |
|
| 925 |
Reuse memory addresses of uints that can't occur in the same state- |
| 926 |
ment. |
| 927 |
|
| 928 |
This is dangerous because it involves knowledge of what symbols are |
| 929 |
never used together, which is information stored obliquely in another |
| 930 |
file. |
| 931 |
--- |
| 932 |
Manual merge, undoing first patch. |
| 933 |
|
| 934 |
sql/sql_parse.cc@1.595, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +47 -24 |
| 935 |
Add hooks to the parser to jump to profiling code. |
| 936 |
|
| 937 |
If profiling is not present, then return an error message upon being |
| 938 |
used. |
| 939 |
--- |
| 940 |
Manual merge, undoing first patch. |
| 941 |
--- |
| 942 |
Fix merge problems. |
| 943 |
--- |
| 944 |
Include patch backported to 5.0-global. |
| 945 |
|
| 946 |
THD::options is a ulonglong, not ulong. |
| 947 |
|
| 948 |
sql/sql_prepare.cc@1.187.5.1, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 949 |
From prepared statement execution, set the query source in the |
| 950 |
profiler, as we can't get it from thd . |
| 951 |
--- |
| 952 |
Make it less expensive to limit the size of the queries. |
| 953 |
|
| 954 |
sql/sql_profile.cc@1.1, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +813 -0 |
| 955 |
New BitKeeper file ``sql/sql_profile.cc'' |
| 956 |
--- |
| 957 |
If query_source is NULL, as can sometimes happen, then don't try |
| 958 |
to copy that memory. |
| 959 |
--- |
| 960 |
Make each new session use its own numbering of query_ids, and not |
| 961 |
show the global-pool numbers to the user. |
| 962 |
|
| 963 |
Provide a way for prepared statements to set the query_source. |
| 964 |
--- |
| 965 |
Selecting from I_S.profiling is no longer quashed in profiling, as |
| 966 |
requested by Giuseppe. |
| 967 |
|
| 968 |
Limit the size of captured query text. |
| 969 |
|
| 970 |
No longer log queries that are zero length. |
| 971 |
|
| 972 |
sql/sql_profile.cc@1.0, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 973 |
|
| 974 |
sql/sql_profile.h@1.1, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +241 -0 |
| 975 |
New BitKeeper file ``sql/sql_profile.h'' |
| 976 |
--- |
| 977 |
Make each new session use its own numbering of query_ids, and not |
| 978 |
show the global-pool numbers to the user. |
| 979 |
|
| 980 |
Provide a way for prepared statements to set the query_source. |
| 981 |
--- |
| 982 |
Make it less expensive to limit the size of the queries. |
| 983 |
|
| 984 |
sql/sql_profile.h@1.0, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 985 |
|
| 986 |
sql/sql_repl.cc@1.157, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +9 -9 |
| 987 |
Abstract setting thread-info into a function or macro. |
| 988 |
--- |
| 989 |
Manual merge, undoing first patch. |
| 990 |
|
| 991 |
sql/sql_select.cc@1.478.2.2, 2007-02-22 10:03:04-05:00, cmiller@zippy.cornsilk.net +23 -24 |
| 992 |
Abstract setting thread-info into a function or macro. |
| 993 |
--- |
| 994 |
Manual merge, undoing first patch. |
| 995 |
--- |
| 996 |
Fix merge problems. |
| 997 |
|
| 998 |
sql/sql_show.cc@1.333.2.4, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +5 -3 |
| 999 |
Abstract setting thread-info into a function or macro. |
| 1000 |
|
| 1001 |
Also, remove "static" qualification on schema_table_store_record() |
| 1002 |
so that external functions may use it. |
| 1003 |
--- |
| 1004 |
Manual merge, undoing first patch. |
| 1005 |
|
| 1006 |
sql/sql_table.cc@1.328.1.3, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +10 -10 |
| 1007 |
Abstract setting thread-info into a function or macro. |
| 1008 |
--- |
| 1009 |
Manual merge, undoing first patch. |
| 1010 |
|
| 1011 |
sql/sql_update.cc@1.205.2.4, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +7 -7 |
| 1012 |
Abstract setting thread-info into a function or macro. |
| 1013 |
--- |
| 1014 |
Manual merge, undoing first patch. |
| 1015 |
|
| 1016 |
sql/sql_view.cc@1.100.1.3, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 1017 |
Abstract setting thread-info into a function or macro. |
| 1018 |
--- |
| 1019 |
Manual merge, undoing first patch. |
| 1020 |
|
| 1021 |
sql/sql_yacc.yy@1.498.1.4, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +48 -32 |
| 1022 |
Add new lexer symbols and insert new grammatical rules necessary to |
| 1023 |
retreive profiling information. |
| 1024 |
--- |
| 1025 |
Manual merge, undoing first patch. |
| 1026 |
--- |
| 1027 |
Fix merge problems. |
| 1028 |
|
| 1029 |
sql/table.h@1.137.1.1, 2007-02-22 10:03:05-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 1030 |
Add enum item for query profiling. |
| 1031 |
|
| 1032 |
ChangeSet@1.2341.74.1, 2007-01-18 09:50:16-05:00, cmiller@zippy.cornsilk.net +7 -0 |
| 1033 |
Bug#24822: Patch: uptime_since_flush_status |
| 1034 |
|
| 1035 |
Provide the number of seconds since flush as a new status variable |
| 1036 |
named "Uptime_since_flush_status". |
| 1037 |
--- |
| 1038 |
Override the post-flush value, as a second could pass between the two |
| 1039 |
statements. |
| 1040 |
|
| 1041 |
BitKeeper/etc/collapsed@1.18.1.2, 2007-01-18 09:49:43-05:00, cmiller@zippy.cornsilk.net +2 -0 |
| 1042 |
|
| 1043 |
mysql-test/r/information_schema.result@1.118, 2007-01-18 09:50:14-05:00, cmiller@zippy.cornsilk.net +7 -0 |
| 1044 |
Test new status variable. |
| 1045 |
--- |
| 1046 |
Override the post-flush value, as a second could pass between the two |
| 1047 |
statements. |
| 1048 |
|
| 1049 |
mysql-test/t/information_schema.test@1.89, 2007-01-18 09:50:14-05:00, cmiller@zippy.cornsilk.net +10 -3 |
| 1050 |
Test new status variable. |
| 1051 |
--- |
| 1052 |
Override the post-flush value, as a second could pass between the two |
| 1053 |
statements. |
| 1054 |
|
| 1055 |
sql/mysql_priv.h@1.425.6.1, 2007-01-18 09:50:14-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 1056 |
Add variable to hold previous flush time. |
| 1057 |
|
| 1058 |
sql/mysqld.cc@1.582.8.1, 2007-01-18 09:50:14-05:00, cmiller@zippy.cornsilk.net +4 -2 |
| 1059 |
Add variable to hold previous flush time. Insert name for |
| 1060 |
referring to it, and initialize the value. |
| 1061 |
|
| 1062 |
sql/sql_show.cc@1.333.2.3, 2007-01-18 09:50:14-05:00, cmiller@zippy.cornsilk.net +4 -0 |
| 1063 |
Yield value of elapsed time since flush when asked. |
| 1064 |
|
| 1065 |
sql/structs.h@1.58, 2007-01-18 09:50:14-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 1066 |
Add new show-flush-time to SHOW types enumeration. |
| 1067 |
|
| 1068 |
ChangeSet@1.2341.39.7, 2007-01-09 14:42:56+01:00, df@kahlann.erinye.com +1 -0 |
| 1069 |
raise version number after cloning 5.0.33 |
| 1070 |
|
| 1071 |
configure.in@1.419, 2007-01-09 14:42:54+01:00, df@kahlann.erinye.com +2 -2 |
| 1072 |
raise version number after cloning 5.0.33 |
| 1073 |
|
| 1074 |
ChangeSet@1.2341.17.11, 2007-01-09 13:02:15+01:00, dfischer@mysql.com +1 -0 |
| 1075 |
configure.in: |
| 1076 |
raise version to 5.0.33 |
| 1077 |
TAG: mysql-5.0.33 |
| 1078 |
|
| 1079 |
configure.in@1.407.3.1, 2007-01-09 12:59:56+01:00, dfischer@mysql.com +2 -2 |
| 1080 |
raise version to 5.0.33 |
| 1081 |
|
| 1082 |
ChangeSet@1.2341.34.3, 2007-01-08 15:57:03-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 1083 |
Community version numbering. |
| 1084 |
|
| 1085 |
configure.in@1.413.1.1, 2007-01-08 15:57:01-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 1086 |
Community version numbering. |
| 1087 |
|
| 1088 |
ChangeSet@1.2294.58.1, 2007-01-03 17:15:10-05:00, cmiller@zippy.cornsilk.net +33 -0 |
| 1089 |
Bug#24795: Add SHOW PROFILE |
| 1090 |
|
| 1091 |
Patch contributed by Jeremy Cole. CLA received Oct 2006 by Kaj Arn� |
| 1092 |
|
| 1093 |
Add rudimentary query profiling support. |
| 1094 |
|
| 1095 |
mysql-test/r/profile.result@1.1, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +30 -0 |
| 1096 |
Test profiling code. |
| 1097 |
--- |
| 1098 |
A not-very-useful result. |
| 1099 |
|
| 1100 |
mysql-test/r/profile.result@1.0, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 1101 |
|
| 1102 |
mysql-test/t/profile.test@1.1, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +39 -0 |
| 1103 |
Test profiling code. |
| 1104 |
--- |
| 1105 |
Test syntax, but not values of profiles code. |
| 1106 |
|
| 1107 |
mysql-test/t/profile.test@1.0, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 1108 |
|
| 1109 |
sql/sql_profile.cc@1.1, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +441 -0 |
| 1110 |
Add profiling code. |
| 1111 |
--- |
| 1112 |
Add wishlist comment. |
| 1113 |
|
| 1114 |
sql/sql_profile.cc@1.0, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 1115 |
|
| 1116 |
sql/sql_profile.h@1.1, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +187 -0 |
| 1117 |
Add profiling code. |
| 1118 |
--- |
| 1119 |
Changed the value of the macro so that it's syntactically equivalent to a |
| 1120 |
single statement. |
| 1121 |
|
| 1122 |
sql/sql_profile.h@1.0, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +0 -0 |
| 1123 |
|
| 1124 |
BitKeeper/etc/collapsed@1.13.1.2, 2007-01-03 17:13:00-05:00, cmiller@zippy.cornsilk.net +3 -0 |
| 1125 |
|
| 1126 |
libmysqld/Makefile.am@1.70.1.1, 2007-01-03 17:15:06-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 1127 |
Add profile file to source list. |
| 1128 |
|
| 1129 |
sql/Makefile.am@1.128.1.1, 2007-01-03 17:15:06-05:00, cmiller@zippy.cornsilk.net +2 -0 |
| 1130 |
Add profiling files to source and header lists. |
| 1131 |
|
| 1132 |
sql/ha_archive.cc@1.78.2.1, 2007-01-03 17:15:06-05:00, cmiller@zippy.cornsilk.net +2 -2 |
| 1133 |
Macro-ized other discovered instances of setting proc_info. |
| 1134 |
|
| 1135 |
sql/ha_myisam.cc@1.170.2.1, 2007-01-03 17:15:06-05:00, cmiller@zippy.cornsilk.net +12 -12 |
| 1136 |
Macroize setting thread-state info |
| 1137 |
|
| 1138 |
sql/item_func.cc@1.316.2.1, 2007-01-03 17:15:06-05:00, cmiller@zippy.cornsilk.net +4 -4 |
| 1139 |
Macro-ized other discovered instances of setting proc_info. |
| 1140 |
|
| 1141 |
sql/lex.h@1.144.1.1, 2007-01-03 17:15:06-05:00, cmiller@zippy.cornsilk.net +13 -0 |
| 1142 |
Add lexer info for profiling. |
| 1143 |
|
| 1144 |
sql/lock.cc@1.90.2.1, 2007-01-03 17:15:06-05:00, cmiller@zippy.cornsilk.net +4 -4 |
| 1145 |
Macroize setting thread-state info |
| 1146 |
|
| 1147 |
sql/log_event.cc@1.214.4.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +4 -4 |
| 1148 |
Macro-ized other discovered instances of setting proc_info. |
| 1149 |
|
| 1150 |
sql/mysql_priv.h@1.423.4.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +4 -0 |
| 1151 |
Set constants for profiling. |
| 1152 |
|
| 1153 |
sql/repl_failsafe.cc@1.61.2.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +3 -3 |
| 1154 |
Macro-ized other discovered instances of setting proc_info. |
| 1155 |
|
| 1156 |
sql/slave.cc@1.286.2.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +3 -3 |
| 1157 |
Macro-ized other discovered instances of setting proc_info. |
| 1158 |
|
| 1159 |
sql/sp_head.cc@1.225.4.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +2 -2 |
| 1160 |
Macro-ized other discovered instances of setting proc_info. |
| 1161 |
|
| 1162 |
sql/sql_base.cc@1.356.1.3, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +12 -12 |
| 1163 |
Macroize setting thread-state info |
| 1164 |
--- |
| 1165 |
Macro-ized other discovered instances of setting proc_info. |
| 1166 |
|
| 1167 |
sql/sql_cache.cc@1.96.1.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +12 -0 |
| 1168 |
Macroize setting thread-state info |
| 1169 |
|
| 1170 |
sql/sql_class.cc@1.254.5.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +2 -0 |
| 1171 |
Integrate profiling. |
| 1172 |
|
| 1173 |
sql/sql_class.h@1.310.9.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +3 -0 |
| 1174 |
Instantiate profiling object. |
| 1175 |
|
| 1176 |
sql/sql_delete.cc@1.187.1.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +6 -6 |
| 1177 |
Macroize setting thread-state info |
| 1178 |
|
| 1179 |
sql/sql_insert.cc@1.206.4.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +19 -19 |
| 1180 |
Macroize setting thread-state info |
| 1181 |
--- |
| 1182 |
Macro-ized other discovered instances of setting proc_info. |
| 1183 |
|
| 1184 |
sql/sql_lex.cc@1.206.6.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +1 -0 |
| 1185 |
Initialize profiling. |
| 1186 |
|
| 1187 |
sql/sql_lex.h@1.233.2.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +3 -0 |
| 1188 |
Define lex tokens and allocate space for profiling options. |
| 1189 |
|
| 1190 |
sql/sql_parse.cc@1.590.10.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +28 -12 |
| 1191 |
Integrate profiling. |
| 1192 |
--- |
| 1193 |
Macro-ized other discovered instances of setting proc_info. |
| 1194 |
|
| 1195 |
sql/sql_repl.cc@1.153.1.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 1196 |
Macro-ized other discovered instances of setting proc_info. |
| 1197 |
|
| 1198 |
sql/sql_select.cc@1.475.4.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +43 -30 |
| 1199 |
Macroize setting thread-state info. |
| 1200 |
|
| 1201 |
Clean up some lines. |
| 1202 |
|
| 1203 |
sql/sql_show.cc@1.333.3.1, 2007-01-03 17:15:07-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 1204 |
Macro-ized other discovered instances of setting proc_info. |
| 1205 |
--- |
| 1206 |
Revert bad use of macro. |
| 1207 |
|
| 1208 |
sql/sql_table.cc@1.325.3.1, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +10 -10 |
| 1209 |
Macroize setting thread-state info |
| 1210 |
|
| 1211 |
sql/sql_update.cc@1.205.3.1, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +7 -7 |
| 1212 |
Macroize setting thread-state info |
| 1213 |
|
| 1214 |
sql/sql_view.cc@1.100.2.1, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +1 -1 |
| 1215 |
Macro-ized other discovered instances of setting proc_info. |
| 1216 |
|
| 1217 |
sql/sql_yacc.yy@1.498.2.1, 2007-01-03 17:15:08-05:00, cmiller@zippy.cornsilk.net +73 -1 |
| 1218 |
Add parser info for profiling. |
| 1219 |
--- |
| 1220 |
Fix new YACC shift/reduce conflict. (Now at 249.) |
| 1221 |
|