Bug #44858 sbin/mysql-proxy has wrong LUA_PATH and LUA_CPATH

Submitted: 14 May 2009 3:12 Modified: 14 May 2009 14:49
Reporter: Diego Medina Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Proxy: Install/Config Severity:S1 (Critical)
Version:0.7.1 OS:Any
Assigned to: Jan Kneschke CPU Architecture:Any

[14 May 2009 3:12] Diego Medina
Description:
The LUA_PATH and LUA_CPATH on the file

sbin/mysql-proxy are missing the lua subfolder for the "self-contained" binaries

Note: I think it is related to bug#44497

How to repeat:
read the file sbin/mysql-proxy and look at the lines 

LUA_PATH="$scriptdir"/lib/mysql-proxy/?.lua
LUA_CPATH="$scriptdir"/lib/mysql-proxy/?.so

, then go to the folder lib/mysql-proxy and you will see no lua nor so files there.

they are all in the lua subfolder

Suggested fix:
Change those lines for 

LUA_PATH="$scriptdir"/lib/mysql-proxy/lua/?.lua
LUA_CPATH="$scriptdir"/lib/mysql-proxy/lua/?.so
[14 May 2009 9:03] Jan Kneschke
the two lines are already removed in a later patch. The next build will include it.

------------------------------------------------------------
revno: 658
committer: jan@mysql.com
branch nick: trunk
timestamp: Wed 2009-05-13 17:31:39 +0200
message:
  our internal LUA_PATH/LUA_CPATH is auto-detected correctly now
[14 May 2009 14:49] Diego Medina
We have bug#44877 which was caused by this one

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.