summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_structs.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-04-28 12:29:13 +0000
committerAndrey Hristov <andrey@php.net>2010-04-28 12:29:13 +0000
commit1838fcc7b09be4c94b7fbb1516c2a162c56b2f7b (patch)
tree53288e41d8847dc3bceb00d0af341739f6c90b81 /ext/mysqlnd/mysqlnd_structs.h
parent5031bfc395bd9cc5a29389d5fe458c3452643b76 (diff)
downloadphp-git-1838fcc7b09be4c94b7fbb1516c2a162c56b2f7b.tar.gz
const-ify fields
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
-rw-r--r--ext/mysqlnd/mysqlnd_structs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h
index 83b80cc43d..401c3b0454 100644
--- a/ext/mysqlnd/mysqlnd_structs.h
+++ b/ext/mysqlnd/mysqlnd_structs.h
@@ -63,12 +63,12 @@ typedef struct st_mysqlnd_cmd_buffer
typedef struct st_mysqlnd_field
{
- char *name; /* Name of column */
- char *org_name; /* Original column name, if an alias */
- char *table; /* Table of column if column was a field */
- char *org_table; /* Org table name, if table was an alias */
- char *db; /* Database for table */
- char *catalog; /* Catalog for table */
+ const char *name; /* Name of column */
+ const char *org_name; /* Original column name, if an alias */
+ const char *table; /* Table of column if column was a field */
+ const char *org_table; /* Org table name, if table was an alias */
+ const char *db; /* Database for table */
+ const char *catalog; /* Catalog for table */
char *def; /* Default value (set by mysql_list_fields) */
unsigned long length; /* Width of column (create length) */
unsigned long max_length; /* Max width for selected set */