diff options
author | Rob Holland <rob@inversepath.com> | 2008-05-17 12:05:49 +0100 |
---|---|---|
committer | Rob Holland <rob@inversepath.com> | 2008-05-17 12:05:49 +0100 |
commit | d9abc5144ea3c0feafc14da732d042e4abc0b361 (patch) | |
tree | 6eb93326e70a08c480178b08b6747ca1006ca7ed | |
parent | 36ff0b85ed9049a63cc3b66533282e730a7db398 (diff) | |
download | third_party-sqlite3-ruby-d9abc5144ea3c0feafc14da732d042e4abc0b361.tar.gz third_party-sqlite3-ruby-d9abc5144ea3c0feafc14da732d042e4abc0b361.tar.xz third_party-sqlite3-ruby-d9abc5144ea3c0feafc14da732d042e4abc0b361.zip |
Revert "amend rdoc to make it clear to use Statement#execute to execute a prepared statement"
Included some portability work by mistake.
This reverts commit 36ff0b85ed9049a63cc3b66533282e730a7db398.
-rw-r--r-- | ext/sqlite3_api/sqlite3_api.i | 5 | ||||
-rw-r--r-- | lib/sqlite3/database.rb | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/ext/sqlite3_api/sqlite3_api.i b/ext/sqlite3_api/sqlite3_api.i index 7c6cee6..0cf74f4 100644 --- a/ext/sqlite3_api/sqlite3_api.i +++ b/ext/sqlite3_api/sqlite3_api.i @@ -2,12 +2,7 @@ %include "typemaps.i" %{ #include <sqlite3.h> -#include "version.h" -#if RUBY_VERSION_CODE < 190 #include "ruby.h" -#else -#include "ruby/intern.h" -#endif #define Init_API Init_sqlite3_api diff --git a/lib/sqlite3/database.rb b/lib/sqlite3/database.rb index 627166c..ca955fd 100644 --- a/lib/sqlite3/database.rb +++ b/lib/sqlite3/database.rb @@ -147,9 +147,6 @@ module SQLite3 # Returns a Statement object representing the given SQL. This does not # execute the statement; it merely prepares the statement for execution. - # - # The Statement can then be executed using Statement#execute. - # def prepare( sql ) stmt = @statement_factory.new( self, sql ) if block_given? |