rfe #2816943 [interface] Add REGEXP ^...$ to select dialog.
This commit is contained in:
@@ -9,6 +9,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
+ rfe #2890226 [view] Enable VIEW rename
|
+ rfe #2890226 [view] Enable VIEW rename
|
||||||
+ rfe #838637 [privileges] Export a user's privileges
|
+ rfe #838637 [privileges] Export a user's privileges
|
||||||
- [core] Updated mootools to fix some glitches with Safari.
|
- [core] Updated mootools to fix some glitches with Safari.
|
||||||
|
+ rfe #2816943 [interface] Add REGEXP ^...$ to select dialog.
|
||||||
|
|
||||||
3.3.0.0 (not yet released)
|
3.3.0.0 (not yet released)
|
||||||
+ rfe #2308632 [edit] Use hex for (var)binary fields,
|
+ rfe #2308632 [edit] Use hex for (var)binary fields,
|
||||||
|
@@ -2973,6 +2973,7 @@ $cfg['TextOperators'] = array(
|
|||||||
'=',
|
'=',
|
||||||
'!=',
|
'!=',
|
||||||
'REGEXP',
|
'REGEXP',
|
||||||
|
'REGEXP ^...$',
|
||||||
'NOT REGEXP',
|
'NOT REGEXP',
|
||||||
"= ''",
|
"= ''",
|
||||||
"!= ''"
|
"!= ''"
|
||||||
|
@@ -403,6 +403,10 @@ else {
|
|||||||
$func_type = 'LIKE';
|
$func_type = 'LIKE';
|
||||||
$fields[$i] = '%' . $fields[$i] . '%';
|
$fields[$i] = '%' . $fields[$i] . '%';
|
||||||
}
|
}
|
||||||
|
if ($func_type == 'REGEXP ^...$') {
|
||||||
|
$func_type = 'REGEXP';
|
||||||
|
$fields[$i] = '^' . $fields[$i] . '$';
|
||||||
|
}
|
||||||
$w[] = PMA_backquote($names[$i]) . ' ' . $func_type . ' ' . $quot . PMA_sqlAddslashes($fields[$i]) . $quot;
|
$w[] = PMA_backquote($names[$i]) . ' ' . $func_type . ' ' . $quot . PMA_sqlAddslashes($fields[$i]) . $quot;
|
||||||
|
|
||||||
} // end if
|
} // end if
|
||||||
|
Reference in New Issue
Block a user