File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ mysql-image-plugin
3
3
4
4
Build
5
5
-----
6
- gcc -I/usr/include/mysql -I./ -fPIC -shared -o mysql_image .so image.c
7
- sudo mv mysql_image .so /usr/lib/mysql/plugin/
6
+ gcc -I/usr/include/mysql -I./ -fPIC -shared -o image .so image.c
7
+ sudo mv image .so /usr/lib/mysql/plugin/
8
8
9
9
Setup
10
10
-----
11
- mysql> create function image_check returns string soname 'mysql_image .so';
11
+ mysql> create function image_check returns string soname 'image .so';
12
12
Query OK, 0 rows affected (0.44 sec)
13
13
14
14
Test
21
21
drop function image_remove;
22
22
drop function image_rename;
23
23
24
- create function image_check returns string soname 'mysql_image .so';
25
- create function image_remove returns string soname 'mysql_image .so';
26
- create function image_rename returns string soname 'mysql_image .so';
24
+ create function image_check returns string soname 'image .so';
25
+ create function image_remove returns string soname 'image .so';
26
+ create function image_rename returns string soname 'image .so';
27
27
28
28
select image_check('/tmp/filename');
29
29
select image_remove('/tmp/filename');
You can’t perform that action at this time.
0 commit comments