[MCOL-4946] CEJ with encrypted password fails decryption Created: 2021-12-17  Updated: 2022-02-25  Resolved: 2022-01-24

Status: Closed
Project: MariaDB ColumnStore
Component/s: MDB Plugin
Affects Version/s: 6.2.2
Fix Version/s: 6.2.3

Type: Bug Priority: Blocker
Reporter: Ben Thompson (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MCOL-1175 CrossEngineSupport stores pw in free ... Closed
Sprint: 2021-16

 Description   

CEJ queries will not use decrypted password values and will only attempt to use exact password value in xml configuration file.



 Comments   
Comment by Daniel Lee (Inactive) [ 2022-01-24 ]

Build verified: 6.2.3-1 (#3717)

t1 is a innodb table.

Reproduced the issue in 6.2.3-1

MariaDB [mytest]> select * from orders o, t1 where o.o_orderkey = c1 and o.o_orderkey <= 100;
ERROR 1815 (HY000): Internal error: CrossEngineStep::execute() fatal error running mysql_real_connect() in libmysql_client lib (1045) (Access denied for user 'cejuser'@'localhost' (using password: YES))

Verified the fix in 6.2.3-1.

MariaDB [mytest]> select * from orders o, t1 where o.o_orderkey = c1 and o.o_orderkey <= 100;
+------------+-----------+---------------+--------------+-------------+-----------------+-----------------+----------------+--------------------------------------------------------------+------+
| o_orderkey | o_custkey | o_orderstatus | o_totalprice | o_orderdate | o_orderpriority | o_clerk         | o_shippriority | o_comment                                                    | c1   |
+------------+-----------+---------------+--------------+-------------+-----------------+-----------------+----------------+--------------------------------------------------------------+------+
|          1 |     36901 | O             |    173665.47 | 1996-01-02  | 5-LOW           | Clerk#000000951 |              0 | nstructions sleep furiously among                            |    1 |
|          2 |     78002 | O             |     46929.18 | 1996-12-01  | 1-URGENT        | Clerk#000000880 |              0 |  foxes. pending accounts at the pending, silent asymptot     |    2 |
|         98 |    104480 | F             |     69168.33 | 1994-09-25  | 1-URGENT        | Clerk#000000448 |              0 | c asymptotes. quickly regular packages should have to nag re |   98 |
|         99 |     88910 | F             |    112126.95 | 1994-03-13  | 4-NOT SPECIFIED | Clerk#000000973 |              0 | e carefully ironic packages. pending                         |   99 |
|        100 |    147004 | O             |    187782.63 | 1998-02-28  | 4-NOT SPECIFIED | Clerk#000000577 |              0 | heodolites detect slyly alongside of the ent                 |  100 |
+------------+-----------+---------------+--------------+-------------+-----------------+-----------------+----------------+--------------------------------------------------------------+------+
5 rows in set (0.195 sec)

Generated at Thu Feb 08 02:54:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.