MySQL Forums
Forum List  »  Newbie

mysql bug
Posted by: sergey lakantarov
Date: May 05, 2015 03:38AM

so i found this online, a bug in insert() function.
why this is happening?
and why its not working with any other functions, like replace()?

select insert(':',1,0,user) x from mysql.user;
+-------+
| x |
+-------+
| root: |
| root: |
| root: |
+-------+

select insert(0x3a,1,0,user) x from mysql.user;
+---------------+
| x |
+---------------+
| root: |
| rootroot: |
| rootrootroot: |
+---------------+

Options: ReplyQuote


Subject
Written By
Posted
mysql bug
May 05, 2015 03:38AM
May 06, 2015 02:50AM


Sorry, you can't reply to this topic. It has been closed.

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.