#include <string.h>
#include <grass/dbmi.h>
#include "macros.h"
Go to the source code of this file.
Functions | |
int | db_create_index (dbDriver *driver, dbIndex *index) |
int | db_create_index2 (dbDriver *driver, char *table_name, char *column_name) |
Create unique index. |
int db_create_index | ( | dbDriver * | driver, | |
dbIndex * | index | |||
) |
Definition at line 12 of file c_create_idx.c.
References db__set_protocol_fds(), DB_RECV_RETURN_CODE, DB_RECV_STRING, DB_SEND_INDEX, and DB_START_PROCEDURE_CALL.
Referenced by db_create_index2().
int db_create_index2 | ( | dbDriver * | driver, | |
char * | table_name, | |||
char * | column_name | |||
) |
Create unique index.
Definition at line 41 of file c_create_idx.c.
References db_alloc_index_columns(), db_create_index(), db_free_index(), db_init_index(), db_set_index_column_name(), db_set_index_name(), db_set_index_table_name(), and db_set_index_type_unique().