aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_namestore_sqlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_namestore_sqlite.c')
-rw-r--r--src/namestore/plugin_namestore_sqlite.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c
index 1ebb6bfc7..5ad84688c 100644
--- a/src/namestore/plugin_namestore_sqlite.c
+++ b/src/namestore/plugin_namestore_sqlite.c
@@ -773,47 +773,6 @@ namestore_sqlite_zone_to_name (void *cls,
773 773
774 774
775/** 775/**
776 * Start a transaction.
777 *
778 * @param cls closure
779 * @return #GNUNET_OK on success, #GNUNET_NO if transactions are not supported,
780 * #GNUNET_SYSERR on internal errors
781 */
782static int
783namestore_sqlite_begin_transaction (void *cls)
784{
785 return GNUNET_NO;
786}
787
788
789/**
790 * Try to commit a transaction.
791 *
792 * @param cls closure
793 * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure
794 */
795static int
796namestore_sqlite_commit_transaction (void *cls)
797{
798 GNUNET_break (0);
799 return GNUNET_SYSERR;
800}
801
802
803/**
804 * Rollback a transaction.
805 *
806 * @param cls closure
807 */
808static void
809namestore_sqlite_rollback_transaction (void *cls)
810{
811 GNUNET_break (0);
812}
813
814
815
816/**
817 * Entry point for the plugin. 776 * Entry point for the plugin.
818 * 777 *
819 * @param cls the "struct GNUNET_NAMESTORE_PluginEnvironment*" 778 * @param cls the "struct GNUNET_NAMESTORE_PluginEnvironment*"
@@ -841,9 +800,6 @@ libgnunet_plugin_namestore_sqlite_init (void *cls)
841 api->iterate_records = &namestore_sqlite_iterate_records; 800 api->iterate_records = &namestore_sqlite_iterate_records;
842 api->zone_to_name = &namestore_sqlite_zone_to_name; 801 api->zone_to_name = &namestore_sqlite_zone_to_name;
843 api->lookup_records = &namestore_sqlite_lookup_records; 802 api->lookup_records = &namestore_sqlite_lookup_records;
844 api->begin_transaction = &namestore_sqlite_begin_transaction;
845 api->commit_transaction = &namestore_sqlite_commit_transaction;
846 api->rollback_transaction = &namestore_sqlite_rollback_transaction;
847 LOG (GNUNET_ERROR_TYPE_INFO, 803 LOG (GNUNET_ERROR_TYPE_INFO,
848 _("Sqlite database running\n")); 804 _("Sqlite database running\n"));
849 return api; 805 return api;