File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ mysql-image-plugin
5
5
6
6
Build
7
7
-----
8
+ cd /usr/local/src/
9
+ git clone https://github.com/netkiller/mysql-image-plugin.git
10
+ cd mysql-image-plugin/
11
+ yum install cmake
12
+
8
13
cmake .
9
14
make && make install
10
15
24
29
25
30
Plugin
26
31
------
27
- drop function image_check;
28
- drop function image_remove;
29
- drop function image_rename;
30
- drop function image_crc32;
31
- drop function image_move;
32
+
33
+ ### Install
32
34
33
35
create function image_check returns string soname 'libimage.so';
34
36
create function image_remove returns string soname 'libimage.so';
35
37
create function image_rename returns string soname 'libimage.so';
36
38
create function image_crc32 returns string soname 'libimage.so';
37
39
create function image_move returns string soname 'libimage.so';
38
40
41
+ ### Uninstall
42
+
43
+ drop function image_check;
44
+ drop function image_remove;
45
+ drop function image_rename;
46
+ drop function image_crc32;
47
+ drop function image_move;
48
+
39
49
Example
40
50
-------
41
51
select image_check('/path/filename.ext');
You can’t perform that action at this time.
0 commit comments