Commit Graph

28 Commits

Author SHA1 Message Date
Brad Fitzpatrick 23498e85b6 sqlite: more windows work. not quite working yet.
Change-Id: I2f724ef8a923497d6d10d2aa2079d0c62c79b55f
2011-07-21 11:00:12 -07:00
Brad Fitzpatrick f349ccfeab sqlite: make sqlite3_os_init conditional, move guts to go_init_vfs
Change-Id: I5144911fbcdf9bbd7859a7c862773fa713338e5d
2011-07-20 18:33:13 -07:00
Brad Fitzpatrick d1f82c3464 sqlite: add place to put windows stuff
Change-Id: I53dd835401f824af8f2129a66016f0d23fcde793
2011-07-20 18:27:38 -07:00
Brad Fitzpatrick 4429eb8bbb more sqlite cleanup
Change-Id: Iacd48d581bcd4d60e34b1152ffe16ecf06077846
2011-07-20 18:02:19 -07:00
Brad Fitzpatrick 63e31b53a3 sqlite: rearrange a bit, from windows WIP port pain + learning
Change-Id: Ice1e49bca5955637c08528cece67cf6b0f0fd12e
2011-07-20 18:00:30 -07:00
Brad Fitzpatrick 19efe6b2e8 sqlite: don't need LDFLAGS -ldl, missing on Windows
Change-Id: Icae43e1843a5c3751ecd746b97a20161e145401f
2011-07-19 20:29:34 -07:00
Brad Fitzpatrick aa771ad925 sqlite: don't use non-portable *os.File.Fd(); not an int on windows
also, remove from fileMap on Close.

Change-Id: If5e44b84c3a876b05e678bc0ef65502bcbc2caf6
2011-07-19 20:26:08 -07:00
Brad Fitzpatrick 5ce7133f14 sqlite: remove the tempdir too
Change-Id: I49b22bf093a55b4d9bdfbe8fa9fa3e5001d822bb
2011-07-19 18:48:59 -07:00
Brad Fitzpatrick bc13dafec9 sqlite: start of better tests
Change-Id: I7106d4e1950e0152d83f672aacc78a4783acf940
2011-07-19 18:47:56 -07:00
Daniel Erat 0aebead810 sqlite: avoid truncating files on SQLITE_OPEN_CREATE. whoops.
Change-Id: If64057ed9c603c42f4e92af54757f57209cc53d4
2011-07-20 01:45:26 +00:00
Daniel Erat 8709a77644 sqlite: support getting time and deleting
Change-Id: I7abef164a64e2358134cbbf076adf3b225145033
2011-07-20 01:35:57 +00:00
Daniel Erat f5b1dc96fd sqlite: minor cleanup; make test do a bit more
Change-Id: I7ad67a929ca6a439577610c383214622103dfd45
2011-07-20 01:03:19 +00:00
Daniel Erat 746b16216b sqlite: implement write. simple test passes now!
Change-Id: I260c71bdf4fcf6c35cb9caf73f430a31cdeebb78
2011-07-20 00:43:21 +00:00
Daniel Erat 77d921371c sqlite: fix args passed to exec call
Change-Id: Id24ad8d3baadf8db4324ad006095fb14c93bb892
2011-07-20 00:10:04 +00:00
Daniel Erat 27f7e9ecf6 sqlite: more stubs; test fails instead of crashing
Change-Id: I3a9e08d7228c39b8a333469c0ea4f1a6c1cf2b47
2011-07-19 22:55:07 +00:00
Daniel Erat f4f3f877b4 sqlite: add xAccess
Change-Id: Ibf7d21ea6eb20150f4268a4334c6fc77ab0dc2be
2011-07-19 22:39:30 +00:00
Daniel Erat aaa6617666 sqlite: make read match behavior of unix vfs
Change-Id: Ibcae7ee7f989ad535b00df87a2fa03316f3dad01
2011-07-19 22:24:58 +00:00
Brad Fitzpatrick 44b42519c9 more sqlite printfs
Change-Id: I74a5d84ed430636f8d0c3ddda5b10d465bed7869
2011-07-18 07:39:48 -07:00
Daniel Erat 8875ffeff0 sqlite: add unused file size impl
Change-Id: Ia0985ad51c716ac7a06c479655a60cc641977854
2011-07-18 00:49:54 +00:00
Daniel Erat 8d19dabe73 sqlite: read
Change-Id: I925cce717ead61ae35d06602e9a7df16cc78db22
2011-07-18 00:24:15 +00:00
Daniel Erat 5b1774164e sqlite: handle open flags
Change-Id: I8382ea56aee06fc029e9538946598e70fe6fbb62
2011-07-17 23:58:53 +00:00
Daniel Erat 82110d81c9 sqlite go vfs work of dubious correctness: open, close
Change-Id: I1bf4e67a3f96a53285635f0816075790a4543b55
2011-07-17 23:12:02 +00:00
Daniel Erat b424a1b912 move sqlite3.c compilation to separate target
Change-Id: I277302c0e8c3c3f640fc4d01b5d71492007106f6
2011-07-17 21:57:53 +00:00
Brad Fitzpatrick eb288d95f1 fix sqlite linking
Change-Id: I540d45d787df0e18091c26a6961b2ac97e1fac4d
2011-07-17 14:44:33 -07:00
Brad Fitzpatrick c91c3b1dab more static sqlite work
Change-Id: I9232a929087cce4a0ae893228bd01cf32ef764fe
2011-07-17 14:33:36 -07:00
Daniel Erat c9d80f4bb8 broken start of sqlite vfs implementation for go
something is busted in cgo between char and schar, i think

Change-Id: I03d8423c7c6a72ff381f88cfff25ea69fd6335f2
2011-07-16 01:30:46 +00:00
Daniel Erat 0099626906 static sqlite work in progress
Change-Id: I33db758bfec3226c1d90a3ea79d79b90ee883720
2011-07-16 00:26:36 +00:00
Brad Fitzpatrick b3efd08c05 sqlite test files
Change-Id: I1845f4906fe7ab7b3fa75519a017559fc229f2cb
2011-07-15 16:00:57 -07:00