Commit 778bf10f authored by Andrew McDonnell's avatar Andrew McDonnell

Fix const correctness as per ha_example.cc, but doesnt fix bug.

parent 8fceadc7
...@@ -109,11 +109,11 @@ static const char *latchToCode(int latch) { ...@@ -109,11 +109,11 @@ static const char *latchToCode(int latch) {
struct oqgraph_table_option_struct struct oqgraph_table_option_struct
{ {
char *table_name; const char *table_name;
char *origid; // name of the origin id column const char *origid; // name of the origin id column
char *destid; // name of the target id column const char *destid; // name of the target id column
char *weight; // name of the weight column (optional) const char *weight; // name of the weight column (optional)
}; };
#define ha_table_option_struct oqgraph_table_option_struct #define ha_table_option_struct oqgraph_table_option_struct
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment