Split up INSERTS when dumping many rows. #34

Closed
wants to merge 9 commits into
from

Conversation

Projects
None yet
2 participants

Added the ability to split up large INSERT statements, into smaller ones.
Defaults to 100 rows per INSERT statement,

bheesham added some commits Jan 16, 2013

@bheesham bheesham Working on getting the INSERT query separated.
	modified:   adminer/dump.inc.php
	modified:   adminer/include/adminer.inc.php
	new file:   adminer/static/dump.js
729c8aa
@bheesham bheesham Now separates properly. Doesn't quite look good, but meh.
I didn't do the design. I'll try to do some work on it if it
bugs me enough.

	modified:   adminer/include/adminer.inc.php
	modified:   adminer/static/dump.js
d5bfe72
@bheesham bheesham Removed the JavaScript portion.
No longer have to worry about the design. It looks good.

	modified:   adminer/dump.inc.php
	deleted:    adminer/static/dump.js
5261803
@bheesham bheesham Working on getting the INSERT query separated.
	modified:   adminer/dump.inc.php
	modified:   adminer/include/adminer.inc.php
	new file:   adminer/static/dump.js
7eb6580
@bheesham bheesham Now separates properly. Doesn't quite look good, but meh.
I didn't do the design. I'll try to do some work on it if it
bugs me enough.

	modified:   adminer/include/adminer.inc.php
	modified:   adminer/static/dump.js
151b85e
@bheesham bheesham Removed the JavaScript portion.
No longer have to worry about the design. It looks good.

	modified:   adminer/dump.inc.php
	deleted:    adminer/static/dump.js
b197ad2
@bheesham bheesham Removed hardcoded value, replaced with variable.
	modified:   adminer/include/adminer.inc.php
fea5d09
@bheesham bheesham Removed the 4 char limit on the input for people who want to insert >…
… 9000.

Actually, over 9999. Just wanted to get over 9000 in a commit message.

	modified:   adminer/dump.inc.php
7d3dca2
@bheesham bheesham Merge branch 'master' of git://github.com/vrana/adminer bd47fe6
Owner

vrana commented Jan 23, 2013

Adminer already splits long inserts by 1 MB.

vrana closed this Jan 23, 2013

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