| 123 | } |
| 124 | |
| 125 | void ConnectionOptionsFree(ConnectionOptions *options) { |
| 126 | if (options == NULL) { |
| 127 | return; |
| 128 | } |
| 129 | if (options->configfile != NULL) { |
| 130 | g_free(options->configfile); |
| 131 | } |
| 132 | if (options->username != NULL) { |
| 133 | g_free(options->username); |
| 134 | } |
| 135 | if (options->password != NULL) { |
| 136 | g_free(options->password); |
| 137 | } |
| 138 | if (options->host != NULL) { |
| 139 | g_free(options->host); |
| 140 | } |
| 141 | if (options->dbname != NULL) { |
| 142 | g_free(options->dbname); |
| 143 | } |
| 144 | g_strfreev(options->query); |
| 145 | } |
| 146 | |
| 147 | void mysql_sql_parse_join(TABLE_LIST *join_table) { |
| 148 | List_iterator<TABLE_LIST> li_join_list(join_table->nested_join->join_list); |