Ticket #314 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

no sqlite3_prepare_v2

Reported by: yoschi@… Owned by: jaymccarthy
Priority: major Milestone:
Component: jaymccarthy/sqlite.plt Keywords:
Cc: Version: 5.0 and some another
Racket Version: 5.0.1

Description

I print:
(require (planet jaymccarthy/sqlite))
downloading and installing is finished normally, but after this there is a message:
ffi-obj: couldn't get "sqlite3_prepare_v2" from "libsqlite3.dll" (�� ������� ��������� ���������.; errno=127)

may be, function in dll is named sqlite3_prepare, or sqlite3_prepare_v3...

Change History

Changed 4 years ago by jaymccarthy

  • status changed from new to closed
  • resolution set to fixed

Your sqlite3 is too old.

 http://sqlite.org/c3ref/prepare.html

"The sqlite3_prepare_v2() and sqlite3_prepare16_v2() interfaces are recommended for all new programs. The two older interfaces are retained for backwards compatibility, but their use is discouraged."

Note: See TracTickets for help on using tickets.