File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -530,10 +530,16 @@ sudo apt-get install libpq-dev libsqlite3-dev libmysqlclient-dev
530
530
bundle install
531
531
```
532
532
533
- ### Object destroy fails with MySQL 5 .7+
533
+ ### Object destroy fails with MySQL v5 .7+
534
534
535
535
A bug was introduced in MySQL's query optimizer. [ See the workaround here] ( https://github.com/mceachen/closure_tree/issues/206 ) .
536
536
537
+ ### Hierarchy maintenance errors from MySQL v5.7.9-v5.7.10
538
+
539
+ Upgrade to MySQL 5.7.12 or later if you see [ this issue] ( https://github.com/mceachen/closure_tree/issues/190 ) :
540
+
541
+ Mysql2::Error: You can't specify target table '*_hierarchies' for update in FROM clause
542
+
537
543
## Testing with Closure Tree
538
544
539
545
Closure tree comes with some RSpec2/3 matchers which you may use for your tests:
You can’t perform that action at this time.
0 commit comments