Bug #166 select @@not_a_variable closes the connection
| Submitted: | 19 Mar 2003 6:51 | Modified: | 19 Mar 2003 7:48 |
|---|---|---|---|
| Reporter: | Michael Kofler | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.0.12 | OS: | Any (ALL) |
| Assigned to: | CPU Architecture: | Any |
[19 Mar 2003 6:51]
Michael Kofler
[19 Mar 2003 7:48]
MySQL Verification Team
===== sql/item_func.cc 1.89 vs edited =====
*** /tmp/item_func.cc-1.89-370 Tue Mar 18 23:13:45 2003
--- edited/sql/item_func.cc Wed Mar 19 17:39:38 2003
***************
*** 2382,2391 ****
char buff[MAX_SYS_VAR_LENGTH+3+8], *pos;
if (!(var= find_sys_var(name.str)))
- {
- net_printf(&thd->net, ER_UNKNOWN_SYSTEM_VARIABLE, name.str);
return 0;
- }
if (!(item=var->item(thd, var_type)))
return 0; // Impossible
thd->safe_to_cache_query=0;
--- 2382,2388 ----
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.