I was trying out dhcpy6d and noticed that the leases table wasn't being updated. A mysql select was returning nothing. Looking at the code, I realized that I was using an InnoDB table, which either requires autocommit to be turned on or a commit statement after each set of SQL statements we want run.
I was trying out dhcpy6d and noticed that the leases table wasn't being updated. A mysql select was returning nothing. Looking at the code, I realized that I was using an InnoDB table, which either requires autocommit to be turned on or a commit statement after each set of SQL statements we want run.
I've gone for the easy solution.