You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
name changes
This commit is contained in:
@ -15,11 +15,11 @@ At this point you can use the idb_add() function template in udfinfinidb.cpp and
|
||||
files to create your own function or just try that function as is.
|
||||
Make the library
|
||||
Stop InfiniDB
|
||||
Copy the libudf_mysql.so.1.0.0 and libudfsdk.so.1.0.0 file to /usr/local/Calpont/lib on
|
||||
Copy the libudf_mysql.so.1.0.0 and libudfsdk.so.1.0.0 file to /usr/local/MariaDB/Columnstore/lib on
|
||||
every InfiniDB node
|
||||
Start InfiniDB
|
||||
In the directory /usr/local/Calpont/mysql/lib64/mysql/plugin create a symbolic link called
|
||||
libudf_msql.so to the file /usr/local/Calpont/lib/libudf_msql.so.1.0.0
|
||||
In the directory /usr/local/MariaDB/Columnstore/mysql/lib64/mysql/plugin create a symbolic link called
|
||||
libudf_msql.so to the file /usr/local/MariaDB/Columnstore/lib/libudf_msql.so.1.0.0
|
||||
In the mysql client add the function (e.g. "create function idb_add returns integer soname
|
||||
'libudf_msql.so';")
|
||||
You should now be able to use the idb_add() function in the select and/or where clauses
|
||||
|
@ -30,7 +30,7 @@
|
||||
* 2. add the UDF function implementation in udfsdk.cpp
|
||||
* 3. add the connector stub for this UDF function in udfsdk.cpp
|
||||
* 4. build the dynamic library libudfsdk
|
||||
* 5. put the library in /usr/local/Calpont/lib of all modules
|
||||
* 5. put the library in /usr/local/MariaDB/Columnstore/lib of all modules
|
||||
* 6. restart all the InfiniDB servers and MySQL server
|
||||
* 7. notify mysqld about the new functions with the commands like:
|
||||
*
|
||||
|
Reference in New Issue
Block a user