GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Go to the source code of this file.
int db_d_add_column | ( | void | ) |
Add column to table.
Definition at line 26 of file d_add_col.c.
References db_driver_add_column, db_free_column(), db_free_string(), db_init_column(), db_init_string(), DB_RECV_COLUMN_DEFINITION, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, render::name, and stat.
int db_d_begin_transaction | ( | void | ) |
Begin transaction.
Definition at line 56 of file d_execute.c.
References db_driver_begin_transaction, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_bind_update | ( | ) |
ADD.
Definition at line 25 of file d_bindupdate.c.
References db_driver_bind_update, db_error(), db_find_token(), DB_RECV_SHORT_ARRAY, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, db_test_cursor_any_column_flag(), db_test_cursor_type_update(), NULL, and stat.
int db_d_close_cursor | ( | void | ) |
Close cursor.
Definition at line 26 of file d_close_cur.c.
References db__drop_cursor_from_driver_state(), db_driver_close_cursor, db_drop_token(), db_error(), db_find_token(), db_free(), db_free_cursor(), DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, NULL, and stat.
int db_d_close_database | ( | void | ) |
Close database connection.
Definition at line 25 of file d_closedb.c.
References db__close_all_cursors(), db__init_driver_state(), db__mark_database_closed(), db__test_database_open(), db_driver_close_database, db_error(), DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_commit_transaction | ( | ) |
Commit transaction.
driver | db driver |
Definition at line 82 of file d_execute.c.
References db_driver_commit_transaction, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_create_database | ( | void | ) |
Create database.
Definition at line 26 of file d_createdb.c.
References db_driver_create_database, db_free_handle(), db_init_handle(), DB_RECV_HANDLE, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_create_index | ( | void | ) |
Create index.
Definition at line 26 of file d_create_idx.c.
References db_driver_create_index, db_free_index(), db_init_index(), DB_RECV_INDEX, DB_SEND_FAILURE, DB_SEND_STRING, DB_SEND_SUCCESS, and stat.
int db_d_create_table | ( | void | ) |
Create table.
Definition at line 26 of file d_create_tab.c.
References db_driver_create_table, db_free_table(), DB_RECV_TABLE_DEFINITION, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_delete | ( | void | ) |
Delete record (?)
Definition at line 25 of file d_delete.c.
References db_driver_delete, db_error(), db_find_token(), DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, db_test_cursor_type_update(), NULL, and stat.
int db_d_delete_database | ( | void | ) |
Delete database.
Definition at line 26 of file d_deletedb.c.
References db_driver_delete_database, db_free_handle(), db_init_handle(), DB_RECV_HANDLE, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_describe_table | ( | void | ) |
Describe table.
Definition at line 26 of file d_desc_table.c.
References db_driver_describe_table, db_free_string(), db_free_table(), db_get_string(), db_init_string(), DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, DB_SEND_TABLE_DEFINITION, db_set_table_name(), render::name, and stat.
int db_d_drop_column | ( | void | ) |
Drop column.
Definition at line 26 of file d_drop_col.c.
References db_driver_drop_column, db_free_string(), db_init_string(), DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_drop_index | ( | void | ) |
Drop index.
Definition at line 26 of file d_drop_index.c.
References db_driver_drop_index, db_free_string(), db_init_string(), DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, render::name, and stat.
int db_d_drop_table | ( | void | ) |
Drop table.
Definition at line 26 of file d_drop_tab.c.
References db_driver_drop_table, db_free_string(), db_init_string(), DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, render::name, and stat.
int db_d_execute_immediate | ( | void | ) |
Execute SQL statements.
Definition at line 26 of file d_execute.c.
References db_driver_execute_immediate, db_free_string(), db_init_string(), DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_fetch | ( | void | ) |
Fetch data.
Definition at line 28 of file d_fetch.c.
References db_driver_fetch, db_find_token(), DB_RECV_INT, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_INT, DB_SEND_SUCCESS, DB_SEND_TABLE_DATA, and stat.
int db_d_find_database | ( | void | ) |
Find database.
Definition at line 26 of file d_finddb.c.
References db_driver_find_database, db_free_handle(), db_init_handle(), DB_RECV_HANDLE, DB_SEND_FAILURE, DB_SEND_HANDLE, DB_SEND_INT, DB_SEND_SUCCESS, and stat.
int db_d_get_num_rows | ( | void | ) |
Get number of selected rows.
Definition at line 25 of file d_rows.c.
References db_driver_get_num_rows, db_find_token(), DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_INT, and DB_SEND_SUCCESS.
int db_d_grant_on_table | ( | void | ) |
Grant privileges on table.
Definition at line 26 of file d_priv.c.
References db_driver_grant_on_table, db_free_string(), db_init_string(), DB_RECV_INT, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_insert | ( | void | ) |
Insert new record into table.
Definition at line 25 of file d_insert.c.
References db_driver_insert, db_error(), db_find_token(), DB_RECV_TABLE_DATA, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, db_test_cursor_type_insert(), NULL, and stat.
int db_d_list_databases | ( | void | ) |
List databases.
Definition at line 26 of file d_listdb.c.
References count, db_driver_list_databases, db_free_handle_array(), db_free_string_array(), DB_RECV_STRING_ARRAY, DB_SEND_FAILURE, DB_SEND_HANDLE, DB_SEND_INT, DB_SEND_SUCCESS, and stat.
int db_d_list_indexes | ( | void | ) |
List indexes.
Definition at line 26 of file d_list_idx.c.
References count, db_driver_list_indexes, db_free_index_array(), db_free_string(), db_init_string(), DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_INDEX_ARRAY, DB_SEND_SUCCESS, and stat.
int db_d_list_tables | ( | void | ) |
List available tables for given connection.
Definition at line 25 of file d_list_tabs.c.
References count, db_driver_list_tables, DB_RECV_INT, DB_SEND_FAILURE, DB_SEND_STRING_ARRAY, DB_SEND_SUCCESS, and stat.
int db_d_open_database | ( | void | ) |
Open database connection.
Definition at line 26 of file d_opendb.c.
References db__mark_database_open(), db__test_database_open(), db_driver_open_database, db_error(), db_free_handle(), db_get_handle_dbname(), db_get_handle_dbschema(), db_init_handle(), DB_RECV_HANDLE, DB_SEND_FAILURE, DB_SEND_SUCCESS, and stat.
int db_d_open_insert_cursor | ( | void | ) |
Open insert cursor.
Definition at line 25 of file d_openinsert.c.
References db__add_cursor_to_driver_state(), db_driver_open_insert_cursor, db_get_error_code(), db_init_cursor(), db_malloc(), db_new_token(), DB_RECV_TABLE_DEFINITION, DB_SEND_FAILURE, DB_SEND_INT, DB_SEND_SUCCESS, DB_SEND_TOKEN, db_set_cursor_table(), db_set_cursor_type_insert(), NULL, and stat.
int db_d_open_select_cursor | ( | void | ) |
Open select cursor.
Definition at line 26 of file d_openselect.c.
References db__add_cursor_to_driver_state(), db_driver_open_select_cursor, db_free_string(), db_get_error_code(), db_init_cursor(), db_init_string(), db_malloc(), db_new_token(), DB_RECV_INT, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_INT, DB_SEND_SUCCESS, DB_SEND_TABLE_DEFINITION, DB_SEND_TOKEN, db_set_cursor_type_readonly(), tools::mode, NULL, and stat.
int db_d_open_update_cursor | ( | void | ) |
Open update cursor.
Definition at line 26 of file d_openupdate.c.
References db__add_cursor_to_driver_state(), db_driver_open_update_cursor, db_free_string(), db_get_error_code(), db_init_cursor(), db_init_string(), db_malloc(), db_new_token(), DB_RECV_INT, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_INT, DB_SEND_SUCCESS, DB_SEND_TABLE_DEFINITION, DB_SEND_TOKEN, db_set_cursor_type_update(), tools::mode, NULL, and stat.
int db_d_update | ( | void | ) |
?
Definition at line 25 of file d_update.c.
References db_driver_update, db_error(), db_find_token(), DB_RECV_TABLE_DATA, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, db_test_cursor_any_column_flag(), db_test_cursor_type_update(), NULL, and stat.
int db_d_version | ( | void | ) |
Get version info.
Definition at line 24 of file d_version.c.
References DB_SEND_C_STRING, and DB_SEND_SUCCESS.
int procnum |
Definition at line 34 of file procs.h.
Referenced by db_driver(), and db_noproc_error().
int(* routine)() |
Definition at line 35 of file procs.h.
Referenced by db_driver().