-/* Generated by re2c 0.9.3 on Fri Jul 8 08:01:28 2005 */
+/* Generated by re2c 0.9.3 on Fri Jul 8 11:51:38 2005 */
#line 1 "../php5-HEAD/ext/pdo/pdo_sql_parser.re"
/*
+----------------------------------------------------------------------+
plc->qlen = strlen(plc->quoted);
plc->freeq = 1;
newbuffer_len += plc->qlen;
+
+ if (stmt->named_rewrite_template) {
+ /* create a mapping */
+ char *name = estrndup(plc->pos, plc->len);
+
+ if (stmt->bound_param_map == NULL) {
+ ALLOC_HASHTABLE(stmt->bound_param_map);
+ zend_hash_init(stmt->bound_param_map, 13, NULL, NULL, 0);
+ }
+
+ zend_hash_update(stmt->bound_param_map, name, plc->len + 1, idxbuf, plc->qlen + 1, NULL);
+ efree(name);
+ }
}
goto rewrite;