Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -5,8 +5,8 @@ function hashJoin($table1, $index1, $table2, $index2) {
|
|||
$h[$s[$index1]][] = $s;
|
||||
// join phase
|
||||
foreach ($table2 as $r)
|
||||
foreach ($h[$r[$index2]] as $s)
|
||||
$result[] = array($s, $r);
|
||||
foreach ($h[$r[$index2]] as $s)
|
||||
$result[] = array($s, $r);
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue