Skip to content

Instantly share code, notes, and snippets.

Created September 15, 2017 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/324b7cb81a07dcaca775620ff7991a26 to your computer and use it in GitHub Desktop.
Save anonymous/324b7cb81a07dcaca775620ff7991a26 to your computer and use it in GitHub Desktop.
MariaDB [moritz5]> SET NAMES utf8mb4;
Query OK, 0 rows affected (0.00 sec)
MariaDB [moritz5]> update ilbot_lines set line = '🍕' where id = 15168776;
Query OK, 1 row affected, 1 warning (0.01 sec)
Rows matched: 1 Changed: 1 Warnings: 1
MariaDB [moritz5]> select * from ilbot_lines where id = 15168776;
+----------+--------+-------+------------+------+------+------------+
| id | day | nick | timestamp | line | spam | in_summary |
+----------+--------+-------+------------+------+------+------------+
| 15168776 | 108737 | jdv79 | 1505483743 | ? | | |
+----------+--------+-------+------------+------+------+------------+
1 row in set (0.00 sec)
MariaDB [moritz5]> update ilbot_lines_mb4 set line = '🍕' where id = 15168772;Query OK, 1 row affected (0.01 sec)
Rows matched: 1 Changed: 1 Warnings: 0
MariaDB [moritz5]> select * from ilbot_lines_mb4 where id = 15168772;+----------+--------+-------+------------+------+------+------------+
| id | day | nick | timestamp | line | spam | in_summary |
+----------+--------+-------+------------+------+------+------------+
| 15168772 | 108737 | jdv79 | 1505483743 | 🍕 | | |
+----------+--------+-------+------------+------+------+------------+
1 row in set (0.00 sec)
MariaDB [moritz5]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment