"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "mysql-4.0.27/sql-bench/Comments/Access.crash-me" of archive mysql-4.0.27-win-src.zip:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 Access 97 tested through ODBC 1998.04.19, by monty@mysql.com
    2 
    3 Access 97 has a bug when on executes a SELECT follwed very fast with a
    4 DROP TABLE or a DROP INDEX command:
    5 
    6 [Microsoft][ODBC Microsoft Access 97 Driver] The database engine couldn't lock table 'crash_q' because it's already in use by another person or process. (SQL-S1
    7 000)(DBD: st_execute/SQLExecute err=-1)
    8 
    9 Debugging SQL queries in Access 97 is terrible because most error messages
   10 are of type:
   11 
   12 Error: [Microsoft][ODBC Microsoft Access 97 Driver] Syntax error in CREATE TABLE statement. (SQL-37000)(DBD: st_prepare/SQLPrepare err=-1)
   13 
   14 Which doesn't tell a thing!
   15 
   16 --------------
   17 
   18 Access 2000 tested through ODBC 2000.01.02, by monty@mysql.com
   19 
   20 crash-me takes a LONG time to run under Access 2000.
   21 
   22 The '1+NULL' and the 'OR and AND in WHERE' tests kills
   23 Activestate Perl, build 521, DBI-DBC with an OUT OF MEMORY error.  
   24 The later test also kills perl/access with some internal errors.
   25 To go around this one must run crash-me repeatedly with the --restart option.
   26 
   27 Testing of the 'constant string size' (< 500K) takes a LOT of memory
   28 in Access (at least 250M on My computer).
   29 
   30 Testing of number of 'simple expressions' takes REALLY a lot of time
   31 and memory;  At some point I was up to 350M of used memory!
   32 
   33 To fix the above, I modified crash-me to have lower max limits in the
   34 above tests.
   35 
   36 Benchmarks (under Win98):
   37 
   38 Running the connect-test will take up all available memory and this
   39 will not be freed even after quitting perl!  There is probably some
   40 bug in the Access connect code that eats memory!