-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
first naive implementation of virtual table #115
base: main
Are you sure you want to change the base?
Conversation
duhlin
commented
Dec 6, 2013
- see test/test_vtable.rb for example
- only select is supported (update/insert is not yet implemented)
|
||
#ifdef ENABLE_TRACE | ||
static FILE* pf; | ||
# define TRACE(str) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about this TRACE
implementation. Seems to be a debugging leftover when you created this? There is no other parts of the codebase that use this, so I think might need to be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. This macro was for debugging only. It can be safely removed.
Le 6 déc. 2013 17:21, "Luis Lavena" [email protected] a écrit :
In ext/sqlite3/module.c:
@@ -0,0 +1,244 @@
+#include <stdio.h>
+#include <sqlite3_ruby.h>
+
+#undef ENABLE_TRACE
+
+#ifdef ENABLE_TRACE
+static FILE* pf;
+# define TRACE(str) \I'm not sure about this TRACE implementation. Seems to be a debugging
leftover when you created this? There is no other parts of the codebase
that use this, so I think might need to be removed.—
Reply to this email directly or view it on GitHubhttps://github.com//pull/115/files#r8165201
.
Hello, @luislavena Is there anything you'd like me to fix/change/review so that this pull request can be integrated ? May be some documentation ? Regards, Lionel |
* see test/test_vtable.rb for example * only select is supported (update/insert is not yet implemented)
- fix unit test so that it can be launched using 'rake'
…t for better error messages
* remove class SQLite3::Module and create class SQLite3::VTable * when declared, store VTables in db.vtables
is there a chance to merge vtable feature into sqlite3 gem? |