SQLite

Check-in [71e4e97d9c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Run quota-stdio tests in binary mode so that they work on windows.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | quota-stdio
Files: files | file ages | folders
SHA1: 71e4e97d9c883aa9f1d43d61543685924fc9339a
User & Date: drh 2011-12-01 22:12:58.579
Context
2011-12-02
15:27
Documentation improvements and additional test cases. (check-in: fa71896089 user: drh tags: quota-stdio)
2011-12-01
22:12
Run quota-stdio tests in binary mode so that they work on windows. (check-in: 71e4e97d9c user: drh tags: quota-stdio)
22:07
Progress toward getting things to work better on windows. (check-in: 253dd7072e user: drh tags: quota-stdio)
Changes
Unified Diff Ignore Whitespace Patch
Changes to test/quota2.test.
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
    append bigtext [format "%06d " $i]
  }
}

catch { unset h1 }
catch { unset x }
do_test quota2-1.1 {
  set ::h1 [sqlite3_quota_fopen quota2a/xyz.txt w+]
  sqlite3_quota_fwrite $::h1 1 7000 $bigtext
} {4000}
do_test quota2-1.2 {
  set ::quota
} {PWD/quota2a/xyz.txt 4000 7000}
do_test quota2-1.3 {
  sqlite3_quota_rewind $::h1







|







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
    append bigtext [format "%06d " $i]
  }
}

catch { unset h1 }
catch { unset x }
do_test quota2-1.1 {
  set ::h1 [sqlite3_quota_fopen quota2a/xyz.txt w+b]
  sqlite3_quota_fwrite $::h1 1 7000 $bigtext
} {4000}
do_test quota2-1.2 {
  set ::quota
} {PWD/quota2a/xyz.txt 4000 7000}
do_test quota2-1.3 {
  sqlite3_quota_rewind $::h1