Čia matote skirtumus tarp pasirinktos versijos ir esamo dokumento.
mydump_extract [2014/12/03 16:44] dalius sukurtas |
mydump_extract [2014/12/03 17:48] (esamas) dalius |
||
---|---|---|---|
Linija 1: | Linija 1: | ||
- | $ sed -n -e '/CREATE TABLE.*mytable/,/CREATE TABLE/p' mysql.dump > mytable.dump\\ | + | $ sed -n -e '/CREATE TABLE.*mytable/,/UNLOCK TABLES/p' mysql.dump > mytable.dump\\ |
This will copy in the file mytable.dump what is located between CREATE TABLE mytable and the next CREATE TABLE corresponding to the next table.\\ | This will copy in the file mytable.dump what is located between CREATE TABLE mytable and the next CREATE TABLE corresponding to the next table.\\ |