Skip to content

Conversation

digoal
Copy link

@digoal digoal commented Aug 3, 2021

modify the lua to support pgsql's prepare and execute syntax.

Copy link
Contributor

@vadimtk vadimtk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. please remove .old and .res files
  2. in file tpcc_run.lua there is no conditions on pgsql query execution

AND c_d_id = %d
AND c_id = %d]]):
format(table_num, table_num, w_id, d_id, c_id))
c_discount, c_last, c_credit, w_tax = con:query_row(([[execute p_new_order1_%d(%d,%d,%d)]]):format(table_num, w_id, d_id, c_id))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if this is not pgsql?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants