Section 15-11-8
Duty of court to examine all witnesses.
In a preliminary examination, it shall be the duty of the court to examine all witnesses having any knowledge of any facts relevant to such investigation, whether such witnesses were summoned in behalf of the state or of the defendant.
(Code 1907, §7603; Code 1923, §5236; Code 1940, T. 15, §138.)