Skip to content

mariadb_dyncol_create_many_num

Georg Richter edited this page Sep 2, 2018 · 2 revisions

Name

mariadb_dyncol_create_many_num - Creates a dynamic column with numeric keys

Synopsis

#include <mariadb_dyncol.h>

enum enum_dyncol_func_result
mariadb_dyncol_create_many_num(DYNAMIC_COLUMN *str,
                               uint column_count,
                               uint *column_numbers,
                               DYNAMIC_COLUMN_VALUE *values,
                               my_bool new_string);

Description

Create a dynamic column from arrays of values and numbérs

Parameter

  • *str - A pointer to a dynamic column structure
  • column_count - number of columns
  • *column_numbers - an array of column numbers
  • *values - an array of values
  • new_string - if set str will be reinitialized (not freed) before usage

Return value

Returns ER_DYNCOL_OK on success, otherwise error.

Notes

See also

Clone this wiki locally